monarc
v3.3.1
Published
MONARC's Obviously Not A Redux Clone
Downloads
531
Maintainers
Readme
MONARC 🦋
MONARC's Obviously Not A Redux Clone.
MONARC is a store intended for React applications, based on the new Context API and useContext / useReducer hooks.
It can be extended with your own plugins, with a couple included to provide two advanced features: undo / redo management and auto-save. There is also a plugin to connect your application to the Redux DevTools. All of these features can be enabled on demand.
MONARC 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
MONARC is available as a package on NPM for use with a module bundler.
# NPM
npm install monarc
# Yarn
yarn add monarc
Motivation
This project was born as an alternative to Facebook's Flux state management. My company's React applications were based on Flux, which uses a deprecated React method that will stop working sooner or later. Since Flux seems no longer actively maintained, it is probably wise to start thinking about an escape path before it's too late.
MONARC has already successfully replaced Flux and is being used in production on old and new applications.
Documentation
TODO
- Improve documentation
- Add a demo application
- More tests!