Replies: 1 comment
-
The inputs are not extra. They are used to show/hide elements. If you have a better idea about how I can provide the code examples, I would be happy to do so. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a beautiful UI component library, and the types of components are also very rich. When looking at the example code, I found a problem, that is, the components blindly use CSS to complete the component functions, which adds some unnecessary component structures.
For example, Accordion components (and other components that require state maintenance), the state of these components is maintained through an input element, which is not originally needed, and in a real scenario, this results in the state in my code and the state on which the component performance depends are not exactly equivalent.I don't know if adding additional DOM structure and state will burden the maintainability of my project.
So I'm confused whether this library can really improve developer productivity.🙂
Beta Was this translation helpful? Give feedback.
All reactions