react-form-data-handler
Simplify your work at handling the form-data. no more headache for managing the state.
Install
npm install react-form-data-handler
Usage
;; { e; // you can get the form data by accessing class state "this.state.input" } { return <Form onSubmit=thissubmit // binding a submit function stateSetter= {this} // needed to set your state > /* * write all your input field components here.. * example <input type="text" defaultValue="john doe" name="fullname" /> */ </Form> ; }
License
MIT © Dony Ariesta