Skip to content

Releases: RisingStack/react-easy-state

v3.0.0

29 Aug 19:04
Compare
Choose a tag to compare

Breaking changes

  • Rename component.state to component.store.

v2.0.3

28 Aug 07:15
Compare
Choose a tag to compare

Fix

  • Fix build. Temporarily transpile to es5 to work with uglifyJS until it starts to support es6 (without beta).

v2.0.2

14 Aug 08:49
Compare
Choose a tag to compare

Fixes

  • Fixed CommonJS build

v2.0.1

13 Aug 20:25
Compare
Choose a tag to compare

Fixes

  • Fix a critical bug with the build process.

V2.0.0

11 Aug 15:15
Compare
Choose a tag to compare

Breaking changes

  • Easy State has two named exports (easyComp and easyStore) instead of the default exported easyState. (easyState became easyComp).

  • Defining your own componentShouldUpdate will throw on error from now on. It should not be defined, as it is already optimized by easyComp.

Features

  • Added easyStore for global state management.

v1.0.5

20 Jul 14:20
Compare
Choose a tag to compare

Fixes

  • Fixed the CommonJS module build.

v1.0.4

07 Jun 15:15
Compare
Choose a tag to compare

Fixes

  • Fixed a bug where child component's wouldn't rerender on alternating shallow and deep prop mutations.
  • Fixed shouldComponentUpdate being always overwritten. From now user defined shouldComponentUpdate is prioritized over Easy State's internal one, but it is discouraged (as the internal one is pretty optimal.)

v1.0.3

25 May 20:11
Compare
Choose a tag to compare

Fixes

Changed shouldComponentUpdate to update on shallow prop changes.

Performance

Removed unnecessary cleanup logic. Explicit unobserve is only necessary when the state and the component may live without each other.