Understanding controlled and uncontrolled inputs in React
In React, a controlled input is an input element whose value is controlled by the component's state. This means that the value of the input is set and updated by the component's code. When the user interacts with the input (e.g. types in a text field...
niteshs.hashnode.dev2 min read