1 Matching Annotations
- Nov 2019
-
legacy.reactjs.org legacy.reactjs.org
-
In the React rendering lifecycle, the value attribute on form elements will override the value in the DOM. With an uncontrolled component, you often want React to specify the initial value, but leave subsequent updates uncontrolled. To handle this case, you can specify a defaultValue attribute instead of value.
-