Use with the following
- react-router
- redux-form
You must use this compontent on the route component where the form is shown not on the form component itself.
This is because this.props.route
is only added to route components, and I didn't want to pass that down through props.
Inspired by this Codepad
Feedback appreciated