How redux-form/redux-form-examples works
This repository is a collection of standalone Redux Form learning apps, not one integrated product. The user opens an example, interacts with its form, and sees the demonstrated behavior: validation, normalization, field arrays, initialization, selection, specialized widgets, or submission. Each app entry point creates a Redux store and renders its example form; some examples add dedicated validators, submit handlers, reducers, or wizard pages. The README documents the full capability set. Edges to form components are supported by entry-point imports/references; unsampled behavior is represented as a capability, not an asserted internal call chain.
Main entry points: DispatchSubmit.js Dispatched submit · ImmutableForm.js Immutable form · FieldArraysForm.js Field arrays · WizardForm.js Wizard form
Components 28
Form fundamentals
- Simple form
simple/src/SimpleForm.js - Field arrays
fieldArrays/src/FieldArraysForm.js - Wizard form
wizard/src/WizardForm.js - Wizard pages
wizard/src/WizardFormFirstPage.js
Validation and submit
- Field validation
fieldLevelValidation/src/FieldLevelValidationForm.js - Synchronous validation
syncValidation/src/SyncValidationForm.js - Submit validation
submitValidation/src/SubmitValidationForm.js - Async blur validation
asyncValidation/src/AsyncValidationForm.js - Async change validation
asyncChangeValidation/src/AsyncValidationForm.js - Async validator
asyncValidation/src/asyncValidate.js - Change validator
asyncChangeValidation/src/asyncValidate.js - Remote submit
remoteSubmit/src/RemoteSubmitForm.js - Submit button
remoteSubmit/src/RemoteSubmitButton.js - Dispatched submit
dispatchSubmit/src/DispatchSubmit.js - Submit handler
dispatchSubmit/src/submit.js - Saga submit
dispatchSubmit/src/saga.js - Epic submit
dispatchSubmit/src/epic.js
State and values
- State initialization
initializeFromState/src/InitializeFromStateForm.js - Account state
initializeFromState/src/account.js - Immutable form
immutable/src/ImmutableForm.js - Immutable values
immutable/src/ImmutableValues.js - Immutable reducer
immutable/src/reducer.js - Selected form values
selectingFormValues/src/SelectingFormValuesForm.js - Normalized fields
normalizing/src/FieldNormalizingForm.js - Phone normalizer
normalizing/src/normalizePhone.js
Widgets and extensions
- Material UI form
material-ui/src/MaterialUiForm.js - React Widgets form
react-widgets/src/ReactWidgetsForm.js
Other components
- Example user
Connections 29
- Example user → Simple form: uses example
README.md - Example user → Field arrays: uses example
README.md - Example user → Wizard form: uses example
README.md - Example user → Field validation: uses example
README.md - Example user → Synchronous validation: uses example
README.md - Example user → Submit validation: uses example
README.md - Example user → Async blur validation: uses example
README.md - Example user → Async change validation: uses example
README.md - Example user → Remote submit: uses example
README.md - Example user → Dispatched submit: uses example
README.md - Example user → State initialization: uses example
README.md - Example user → Immutable form: uses example
README.md - Example user → Selected form values: uses example
README.md - Example user → Normalized fields: uses example
README.md - Example user → Material UI form: uses example
README.md - Example user → React Widgets form: uses example
README.md - Field arrays → Field validation: validates with
- Async blur validation → Async validator: validates with
asyncValidation/src/AsyncValidationForm.js - Async change validation → Change validator: validates with
asyncChangeValidation/src/AsyncValidationForm.js - Remote submit → Submit button: paired with
remoteSubmit/src/index.js - Dispatched submit → Saga submit: dispatches through
dispatchSubmit/src/index.js - Dispatched submit → Epic submit: dispatches through
dispatchSubmit/src/index.js - Saga submit → Submit handler: invokes
dispatchSubmit/src/saga.js - Epic submit → Submit handler: invokes
dispatchSubmit/src/epic.js - State initialization → Account state: initializes from
initializeFromState/src/InitializeFromStateForm.js - Immutable form → Immutable values: displays values
immutable/src/index.js - Immutable form → Immutable reducer: uses reducer
immutable/src/index.js - Normalized fields → Phone normalizer: normalizes with
- Wizard form → Wizard pages: renders pages