Skip to content

Releases: oyvindhermansen/easy-state

v1.1.6

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 11 Apr 21:49
  • New error message on setState when not defining it with nextState-argument.
  • Rewrote a couple of tests to match new error instead of returning undefined when arg is not defined.

New Readme

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 26 Feb 21:37
  • Shortened the Readme
  • New improved website powered by Gatsby JS.

Performance fix

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 29 Jan 15:38
  • Subscribe method now removes the relevant listener. The listeners will no longer bulk up.

V1.1.3

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 29 Sep 10:55
new release

Bug fix

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 29 Sep 10:30
  • Bug inside setState method that resets to initial state on state change.

Docs + release of github page!

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 29 Aug 00:12
1.1.1

getting there

New feature - Logger

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 24 Aug 09:11

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

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 16 Aug 18:36

Changed order of subscribe's callback params.

Release-v1.0.0

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 16 Aug 18:25
  • Removed combineStores to make it plain simple with only using createStateTree

  • The subscribe callback now takes prevState and nextState to make it easy to compare old and new state and only render if you need it. This can make significant impact on performance.

  • createStateTree is 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

Choose a tag to compare

@oyvindhermansen oyvindhermansen released this 13 Aug 22:36
  • You can now combine stores into one state tree for more control over larger applications.