How to assign form values to properties on the component object?

We can use refs to assign form values to properties on the component object.
input: dom element passed in the function
<input ref={(input) => this._name = input}/>

Comments

Archive

Contact Form

Send