React Forms: Using Refs

React provides two standard ways to grab values from

elements. The first method is to implement what are called controlled components (see my blog post on the topic) and the second is to use React’s ref property.
Controlled components are heavy duty. The defining characteristic of a controlled component is the displayed value is bound to component state. To update the value, you execute a function attached to the onChange event handler on the form element. The onChange…

React Forms: Using Refs is a post from CSS-Tricks