react-advanced-context-store v0.3.1
React Advanced Context Store
This is a store intended for React applications, based on the new Context API and useContext hook.
It has advanced features like undo / redo management and auto-save. The auto-save is triggered asynchronously like e.g. in Google Documents. Both of these features can be enabled on demand.
It also provides some features to help migrating applications using the Flux ReduceStore
/ Container
pattern, so you won't have to rewrite your application from scratch.
Installation
The React Advanced Context Store is available as a package on NPM for use with a module bundler.
# NPM
npm install react-advanced-context-store
# Yarn
yarn add react-advanced-context-store
Motivation
This project was born as an alternative to Facebook's Flux state management solution. My company's React applications are based on Flux, which uses a deprecated React method that will stop working with React 17. Since Flux seems no longer actively maintained, it is probably wise to start thinking about an escape path before the release of the next major version of React.
Documentation
TODO
- Improve documentation
- Add a demo application
- More tests!