Skip to content

Instantly share code, notes, and snippets.

@SanthoshVijayabaskar
Created October 28, 2015 05:26
Show Gist options
  • Save SanthoshVijayabaskar/cc3f81d5fac26c1a1597 to your computer and use it in GitHub Desktop.
Save SanthoshVijayabaskar/cc3f81d5fac26c1a1597 to your computer and use it in GitHub Desktop.
React Form Checklist

React Form Checklist

  • Any input with value is a controller compoment
  • Create Reusable inputs
  • saved data via AJAX calls in controller view
  • Programatically redirected after save via React-Router
  • Used Toastr to display notification
  • Added Validation
  • Used propTypes to declare expectations
  • Used willTransitionFrom to protect losing work
  • populated form in componentWillMount (becasue this method runs before rendering)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment