Skip to content

A Higher Order Component using react-redux to keep form state in a Redux store

License

Notifications You must be signed in to change notification settings

Koushalkumar15/redux-form

This branch is 91 commits behind redux-form/redux-form:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Andrew Luca
Nov 29, 2019
3c495d8 Β· Nov 29, 2019
Sep 24, 2019
Nov 28, 2019
Nov 29, 2019
Jun 1, 2018
Dec 11, 2018
Nov 28, 2019
May 30, 2019
May 30, 2019
Nov 29, 2019
Aug 28, 2015
May 30, 2019
Dec 11, 2018
Oct 9, 2017
Jun 29, 2017
Mar 23, 2018
Jan 18, 2018
Dec 11, 2018
May 18, 2016
Oct 1, 2019
Apr 23, 2019
Jul 31, 2015
Oct 18, 2019
May 9, 2017
Dec 12, 2018
Oct 26, 2015
Nov 29, 2019
Sep 9, 2019
Mar 18, 2018
May 30, 2019

Repository files navigation

redux-form


πŸ’°Psst!! Do you know React and Redux? Sign up with Triplebyte to get offers from top tech companies! πŸ’°


NPM Version NPM Downloads Build Status codecov.io Code Climate styled with prettier PayPal donate button Twitter URL Patreon Backers on Open Collective Sponsors on Open Collective

redux-form works with React Redux to enable an html form in React to use Redux to store all of its state. Beerpay

⚠️ ATTENTION ⚠️

If you're just getting started with your application and are looking for a form solution, the general consensus of the community is that you should not put your form state in Redux. The author of Redux Form took all of the lessons he learned about form use cases from maintaining Redux Form and built 🏁 React Final Form, which he recommends you use if you are just starting your project. It's also pretty easy to migrate to from Redux Form, because the <Field> component APIs are so similar. Here is a blog post where he explains his reasoning, or there are two talks if you prefer video. Formik is also a nice solution.

The only good reason, in the author's view, to use Redux Form in your application is if you need really tight coupling of your form data with Redux, specifically if you need to subscribe to it and modify it from parts of your application far from your form component, e.g. on another route. If you don't have that requirement, use 🏁 React Final Form.

Installation

npm install --save redux-form

Documentation

πŸ– Code Sandboxes πŸ–

You can play around with redux-form in these sandbox versions of the Examples.

Videos

A Practical Guide to Redux Form – React Alicante 2017
A Practical Guide to Redux Form – React Alicante 2017
Abstracting Form State with Redux Form – JS Channel 2016
Abstracting Form State with Redux Form – JS Channel 2016

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! πŸ™ [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

About

A Higher Order Component using react-redux to keep form state in a Redux store

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%