A React higher-order component that stores form state in Redux for tight integration with your Redux application.
Redux Form is a React higher-order component that stores form state in a Redux store, enabling centralized management of form data. It solves the problem of managing complex form state by integrating it directly with Redux, allowing form values to be accessed and modified from anywhere in the application. The library provides tools for validation, submission, and field handling while maintaining Redux's predictable state flow.
React developers building applications with Redux who need tight coupling between form state and the Redux store, particularly for scenarios where form data must be accessed or modified from distant parts of the app.
Developers choose Redux Form when they require deep integration of form state with Redux, enabling features like remote submission, cross-route form data access, and centralized state management. Its unique selling point is the ability to treat form state as a first-class citizen in the Redux ecosystem, though the author now recommends React Final Form for new projects without this specific requirement.
A Higher Order Component using react-redux to keep form state in a Redux store
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Centralizes all form state in the Redux store, enabling access and modification from any part of the application, as emphasized in the philosophy section for tight coupling with Redux.
Supports synchronous, asynchronous, field-level, and submit validation with customizable error handling, detailed in the key features and documented examples.
Includes tools for complex scenarios like field arrays, wizard forms, and value normalization, as highlighted in the documentation for handling advanced use cases.
Provides well-structured documentation, numerous examples, and interactive code sandboxes, making it easier to learn and implement, as linked in the README.
The creator explicitly advises against using it for new projects, recommending React Final Form instead, as stated in the attention warning due to community consensus.
Requires a full Redux setup, adding boilerplate and complexity for forms that don't benefit from global state management, increasing initial setup time.
Storing form state in Redux can cause unnecessary re-renders and performance degradation, especially for large forms or frequent updates, as noted in common criticisms.