Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

redux-form

> 前端框架
Open source

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

12.5K stars0 likes3 views
WebsiteGitHub

About

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

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.


redux-form works with React Redux to enable an html form in React to use Redux 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, 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

  • Getting Started
  • Examples
  • API
  • FAQ
  • Release Notes
  • Older Documentation

Code Sandboxes

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

  • Simple Form
  • Synchronous Validation
  • Field-Level Validation
  • Submit Validation
  • Asynchronous Blur Validation
  • Initializing From State
  • Field Arrays
  • Remote Submit
  • Normalizing
  • Immutable JS
  • Selecting Form Values
  • Wizard Form

Videos

A Practical Guide to Redux Form – React Alicante 2017
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]

Issues· 497 open

View all issuesOpen on GitHub
  • #4798

    Add React 19 Support

    featureUpdated Jun 7, 2026
  • #3954

    Support React 17 with new lifecycle methods.

    enhancementhelp wantedUpdated Sep 17, 2025
  • #4797

    Feature: pass field's `syncError`/`asyncError`/`submitError` in injected `meta`

    featureUpdated Jun 11, 2025
  • #4796

    Unable to set initial state for FieldArray fields in redux-form

    bugUpdated Jun 6, 2025
  • #1944

    onSubmit cancels when button onClick causes re-render

    Updated Feb 14, 2025
  • #3701

    Nested form submit also submits parent form

    Updated Jan 29, 2025
  • #4794

    Focus is getting removed from the input fields while using FIelds array

    bugUpdated Dec 11, 2024
  • #4774

    Support react-redux 8.x.x

    featureUpdated Dec 6, 2024
  • #4089

    How to extract Redux form from application

    discussionUpdated Nov 4, 2024
  • #3982

    Flow type checking fails in projects without redux as an explicit dependency

    discussionUpdated Oct 27, 2024

> Tags

JavaScriptformform-validationformsreact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架