Hello, Team Brain-Day is happy to launch Brainfreeze. Brainfreeze follows a Redux-like architecture, which should be familiar to developers. However, Brainfreeze comes with a few differences out of the box.
Brainfreeze allows listeners to be attached to any specific key in the state object. When you dispatch an action, you will declare which key path you want to change. Redux revolves around the idea of predictive state changes, if you can predict your state change you can declare your prediction. When our dispatch method receives the action object, it will use your declared key change(s) to trigger only the listeners attached to those key(s). This will limit the number of listeners being triggered to only those that need to be.
This will clean up code, and improve performance. We encourage you to check us out on Github, and NPM (brain-freeze) https://github.com/Brain-Day/brain-freeze
Brainfreeze – Predictive State Management | Heykuki News