This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
Add framework-specific documentation #5895
Unanswered
ashleyryan
asked this question in
Ideas
Replies: 2 comments
-
Another quirk is with boolean attributes: Example with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @ashleyryan, We would appreciate some contributions for the React complications. I believe https://github.com/vmware/clarity/blob/next/packages/react/README.md will be a good place to start. Maybe adding a new section. Another way could be to create a new markdown file and the team will find a place for it on the website. |
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
-
Some frameworks (aka React) require framework-specific logic to make a component work. It might be helpful to have a way in the docs of denoting framework-specific logic.
Two examples:
indeterminate
directly on the<input>
for<CdsCheckbox>
. You have to set it in auseLayoutEffect
using a ref on the input.useState
to track the state of the component.I'm happy to contribute if there's a pattern for doing so.
Beta Was this translation helpful? Give feedback.
All reactions