Individual packages for react-aria-components
#6734
fellipeutaka
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Thanks for creating this discussion. We've decided to move in the direction of just having a monopackage going forward, as well as encouraging the use of the monopackages for our existing packages. Some reasons for this include:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi React Aria Team,
First, I would like to thank you for your incredible work on the React Aria library. Your dedication to providing accessible components and hooks is highly appreciated by the community.
Recently, I noticed the release of the new component-based library, which is a fantastic addition to the React Aria ecosystem. However, I have a concern regarding the structure of this new library. Currently, it is available as a single, large package.
One of the features I greatly appreciate in the hook-based library is the ability to install and import only the packages I need. For instance:
This modular approach allows for more efficient bundle sizes and reduces the overhead of unused code in my projects. In comparison, the new component-based library is only available as a single package:
To improve flexibility and maintain the benefits of modularization, I would like to request the addition of separately installable packages for each component in the new library. This would allow developers to install and use only the specific components they need, similar to the existing hook-based library.
I believe this enhancement would be beneficial for many users, as it would enable better optimization of bundle sizes and promote more efficient usage of the library.
Thank you for considering this request. I look forward to your response and appreciate your continuous efforts in improving React Aria.
Best regards,
Utaka
Beta Was this translation helpful? Give feedback.
All reactions