https://github.com/avanelsas/baredom
• Adds an x-tree web component to display hierarchical data
• adds define-json-prop! to the shared utilities, which installs a property that keeps a JS value as JSON in an attribute
https://avanelsas.github.io/baredom/demo/x-tree.html
I checked out the demo for this and the other components and it looks amazing!
Thanks, Hope it is useful 👍🏼
#CRRJBCX7S https://github.com/lilactown/helix/blob/master/CHANGELOG.md has been released! This includes a number of fixes for long-standing (but niche) bugs in the analyzer and various macros. A few highlights:
• :auto-deps will now detect locals used in #js tagged literals
• use-effect, use-memo and use-callback allow a single symbol in their body, e.g. (use-memo :once foo) (this resulted in a warning before)
• Fix the (experimental) metadata tags for memo/callback feature resulting in broken forms being emitted in many cases
The reason for moving from 0.2.x to 0.3 is a small breaking change in how :key props are handled. From the changelog:
> A nil :key prop is now passed as undefined to React. Previously, nil would be passed directly to React and, if two elements had a nil key, would produce a confusing duplicate key warning. This change is meant to make it easier to identify when code meant to generate the :key prop is not working, as :key is meant to be a string-y value.