Releases: oyvindhermansen/easy-state
Release list
v1.1.6
New Readme
- Shortened the Readme
- New improved website powered by Gatsby JS.
Performance fix
- Subscribe method now removes the relevant listener. The listeners will no longer bulk up.
V1.1.3
Bug fix
- Bug inside setState method that resets to initial state on state change.
Docs + release of github page!
1.1.1 getting there
New feature - Logger
Introducing easy state logger
This is a feature for better development experience.
The logger makes it easier for you as a developer to track state changes in your application. The logger logs every prevState and nextState to the console when setState is triggered.
The logger is easy to use. For more information on how to use it, check out the README.
Hotfix release
Changed order of subscribe's callback params.
Release-v1.0.0
-
Removed
combineStoresto make it plain simple with only usingcreateStateTree -
The subscribe callback now takes
prevStateandnextStateto make it easy to compare old and new state and only render if you need it.This can make significant impact on performance. -
createStateTreeis now exported as default due to being the only function to import from the lib -
Readme is better documented and got dev-setup.
New feature - combineStores
- You can now combine stores into one state tree for more control over larger applications.