Replies: 1 comment 1 reply
-
Zag.js ships the dist and src files (for better debugging experience) hence the perceived size. I’m sure you know that Bundlephobia isn’t a correct measure of bundle size. Can you share a bundle size analyzer result here? If you’re relying on Ark, I recommend using a sub path import instead of importing from the root package. Import { Combobox } from ark-ui/react/combobox |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! At the time of writing, our usage of zag results in about a 400kb increase to our bundle size. The combobox package on its own is only a bit smaller than the entirety of headlessui/react. Are there any plans to decrease the bundle size?
Beta Was this translation helpful? Give feedback.
All reactions