I'm studying about React.
There is something I do not understand about the control and non-control components of React.
How does a component with React determine whether it is controlled or not?
Looking at the official document, I got the impression that it depends on whether or not to use ref.
Please let me know if there are any other criteria.
I understand the difference between the two below.
useState
).ref
to obtain its value) "If you look at the official document, you may have already read it, but I will attach a reference link
"
© 2024 OneMinuteCode. All rights reserved.