DEV Community

Discussion on: What state management you use?

Collapse
 
inizio profile image
IniZio • Edited

I made a library for state management github.com/IniZio/reim, it is still new and stuff, but it has high test coverage :)

Basically create a store and then the only thing you care is setState to update the store. No ALL_CAPS_ACTION_TYPES just functions as mutation. You can also use Rxjs with it and it is very extendable with plugins like reim-reporter.

It can also be used with Vue, instead of setState you use commit to make changes.