Fixed
-
Fix issue where
bind:ref
doesn't work with components, making it impossible to access the underlying DOM element.
Now, you can passbind:ref
to all components.<script lang="ts"> let rootNode = $state<HTMLDivElement | null>(null) $inspect(rootNode) </script> <Accordion.Root bind:ref={rootNode}> <Accordion.Item value="item-1"> <Accordion.Trigger>Item 1</Accordion.Trigger> <Accordion.Content>Content 1</Accordion.Content> </Accordion.Item> </Accordion.Root>
-
Improve prop reactivity across all components.