Skip to main content

Fix collection-based components

Fix Collection-based components like Listbox/Menu/Table/Dropdown, they cannot be imported on Next.js without adding the use client; directive, even when we import them from individual packages.

3 comments

Log in to comment and vote

Comments3

  • ata_shakeri

    •

    Oct 21, 2024

  • Lago

    •

    Mar 7, 2024

    I use the collection-based components frequently throughout my project, so it does get pretty annoying having to move those components down the tree to make it work. Not a huge priority, but still, fixing this would let me clean up my code quite a bit :)

    • JaceCodes

      •

      Mar 7, 2024

      Definite yes to the above. My team uses this library and find this to be a regular annoyance.