react.dev
react.dev copied to clipboard
Contributing Controlled-components mental-model diagrams
trafficstars
Hi,
I don't really know where this could be integrated into the documentation, but I've created some visuals to explain step-by-step what really happens when interacting with a Controlled-component, for each field type:
- text field
- select:
- multiple select:
- checkbox:
- radio:
I'd love to contribute those diagrams to the reactjs.org project if you think it can be useful.
I have them in SVG I can edit/adapt them as needed I can easily create a PR