Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

redux-form/redux-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

redux-form


You build great forms, but do you know HOW users use your forms?Find out with Form Nerd! Professional analytics from the creator of Redux Form.


NPM VersionNPM DownloadsBuild Statuscodecov.ioCode Climatestyled with prettierTwitter URLPatreonBackers on Open CollectiveSponsors on Open Collective

redux-form works withReact Redux toenable an html form inReact to useRedux to store all of its state.


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


⚠️ ATTENTION⚠️

If you're just getting started with your application and are looking for a form solution, thegeneral consensus of the community is that you shouldnot 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, orthere 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 needreally 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 withredux-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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp