Replies: 2 comments 1 reply
-
I have some additional points that might lead to different conclusions.
Therefore, I propose providing a "Component Library Primitives" that can not only give the community confidence to develop but also lower the barrier for beginners to achieve a smooth experience, while reducing the long-term costs of addressing compatibility issues. |
Beta Was this translation helpful? Give feedback.
-
Posting this here for posterity. Feel free to comment more. List of currently supported dioxus specific community component libraries I know about: General Components
Icons |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems the v0.7.0 milestone intends to add a "Component Library". Regarding this, one of the biggest mistakes Flutter made was to focus too much on components, such as Material and Cupertino, rather than building tools that allowed developers to more easily create custom experiences. What developers really wanted was these core tools and a solid development/deployment experience. Fortunately for Dioxus, HML/CSS/Tailwind/SVG/WGPU etc. already put Dioxus ahead in the ability to create custom experiences and there are many component libraries built on top of these tools. As Dioxus matures, I fully expect Dioxus specific component libraries to emerge naturally from the community. Dioxus Is also relatively new and likely to change in the future. Adding a component library would require developer resources in implementing/maintenance/migrations and draw resources away from core features. Flutter is fairly stable and half of their current issues are related to Material or Cupertino, I would hate for Dioxus to fall into this hole.
This said, I’m not sure a component library should be a part of Dioxus and make the same mistakes Flutter made with Material and Cupertino. If anything, they should a separate crate. But from a long time Flutter Developers perspective, I truly don’t think that Dioxus developer resources should be spent on building component libraries. Time would be better served focusing on the developers experience across platforms (bugs, native integrations, tools, docs) rather than a component library.
This all comes down to managing finite developer resources. Whatever direction is decided, I look forward to seeing Dioxus grow into the future!
References:
Beta Was this translation helpful? Give feedback.
All reactions