MCPcopy Index your code
hub / github.com/redux-form/redux-form

github.com/redux-form/redux-form @v8.3.10

Chat with this repo
repository ↗ · DeepWiki ↗ · release v8.3.10 ↗ · + Follow
533 symbols 1,708 edges 235 files 36 documented · 7% 2 cross-repo links updated 2y agov8.3.10 · 2023-03-28★ 12,491475 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 Version NPM Downloads Build Status codecov.io Code Climate styled with prettier 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.


💰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

🏖 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]

Extension points exported contracts — how you extend this code

JestExpectType (Interface)
(no doc)
flow-typed/npm/jest_v25.x.x.js

Core symbols most depended-on inside this repo

toBe
called by 1313
flow-typed/npm/jest_v25.x.x.js
toHaveBeenCalledTimes
called by 442
flow-typed/npm/jest_v25.x.x.js
toHaveBeenCalled
called by 427
flow-typed/npm/jest_v25.x.x.js
toEqual
called by 327
flow-typed/npm/jest_v25.x.x.js
getIn
called by 256
src/structure/plain/getIn.js
reducer
called by 203
src/createReducer.js
setIn
called by 118
src/structure/plain/setIn.js
toBeTruthy
called by 70
flow-typed/npm/jest_v25.x.x.js

Shape

Function 331
Method 143
Class 58
Interface 1

Languages

TypeScript100%

Modules by API surface

flow-typed/npm/jest_v25.x.x.js47 symbols
src/createReducer.js45 symbols
src/actions.js35 symbols
src/__tests__/reduxForm.spec.js34 symbols
src/createReduxForm.js27 symbols
src/__tests__/Field.spec.js18 symbols
src/createFields.js17 symbols
src/createFieldArray.js15 symbols
src/__tests__/Fields.spec.js15 symbols
src/__tests__/FieldArray.spec.js15 symbols
src/createField.js14 symbols
src/ConnectedField.js13 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@babel/cli7.8.4 · 1×
@babel/core7.9.0 · 1×
@babel/plugin-proposal-class-properties7.8.3 · 1×
@babel/plugin-transform-flow-strip-types7.9.0 · 1×
@babel/plugin-transform-runtime7.9.0 · 1×
@babel/preset-env7.9.5 · 1×
@babel/preset-react7.9.4 · 1×
@babel/runtime7.9.2 · 1×
@size-limit/preset-small-lib4.4.5 · 1×
babel-eslint10.1.0 · 1×
babel-loader8.1.0 · 1×
babel-plugin-lodash3.3.4 · 1×

For agents

$ claude mcp add redux-form \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact