A persistence layer for Redux with flexible storage backends and decorators.
Redux Storage is a library that adds persistence capabilities to Redux applications, allowing the state to be saved and restored across browser sessions or app launches. It solves the problem of losing application state on page refresh or app restart by providing a flexible middleware and engine system.
Redux developers building web or React Native applications that require state persistence, such as offline-capable apps, dashboards, or tools where user progress should survive reloads.
Developers choose Redux Storage for its modular design, extensive decorator ecosystem, and support for multiple storage backends, enabling fine-grained control over persistence behavior without locking into a specific solution.
Persistence layer for redux with flexible backends
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports engines like localStorage for web and AsyncStorage for React Native, allowing cross-platform persistence without locking into a single solution.
Includes decorators for debouncing saves, filtering state, and handling migrations, enabling fine-grained control over persistence behavior as shown in the README.
Emits LOAD and SAVE actions that can be observed in reducers, useful for implementing UI feedback like loading screens during state restoration.
Allows blacklisting or whitelisting actions to trigger saves, preventing unnecessary storage writes and optimizing performance.
The project has moved to the react-stack organization with the original author shifting focus, raising concerns about long-term support and updates.
Requires installing separate packages for engines and decorators, and configuring middleware with multiple steps, which can be verbose compared to integrated alternatives.
Engines and decorators are distributed as individual npm packages, leading to potential version compatibility issues and scattered documentation.