React Router Form

A <Form> component for use with React Router which does for <form> what react-router’s <Link> does for <a>.

It renders a <form> element with the contents you provide, hooks into the form’s onSubmit event to extract user input and transitions to the configured route with user input data in the next location’s state.

One of the key goals of this component is to make it easier to implement basic isomorphic forms in your React app.

If your onEnter handlers send back everything needed to re-render a form which has errors (i.e. validation errors and user input), then for a little extra effort your React components can handle form submissions on both client and server:


React Router Form

Download Details:

Author: insin

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License: MIT

Add Comment