EasyForm
Forms and React made easy.
Benefits
- Ease of use.
- Best of both worlds (React and Javascript).
Form
object to popular the form, get the values afterwards- React components to render the form.
- Extensible
- Easy to define new Input types.
Usage
npm install --save easy-forms
;; Component { superargs; thisform = ; } { let form = thisform; return <formContainer> <div className="form-group"> <label>E-mail</label> <Input type="email" className="form-control" name="email" placeholder="E-mail address" /> </div> <div className="form-group"> <label>Password</label> <Input type="password" className="form-control" name="password" placeholder="Password" /> </div> <button onClick= { console } className="btn btn-default">Submit</button> </formContainer> }