Skip to content

Releases: RisingStack/react-easy-state

v5.1.0

17 May 17:28
Compare
Choose a tag to compare

Features

  • Added a new deriveStoresFromProps static lifecycle method. Related docs is here.

Docs

v5.0.2

16 May 16:55
Compare
Choose a tag to compare

Fixes

  • Fixed not copying all props from function components as static props to view components.

v5.0.1

20 Apr 06:20
Compare
Choose a tag to compare

Fixes

  • Fixed on error when using static getter React specific properties (like defaultProps) on view components.

v5.0.0

14 Feb 17:07
Compare
Choose a tag to compare

Breaking changes

  • The auto bind feature got removed from both store and view.

Features

  • Added integration for an experimental debugger. You can test this out with view(Comp, { devtool: console.log }), the actual visual debugger is still in the making.

Fixes

  • Added reactivity support for in operations.
  • Fixed reactivity in case of mutating a sparse array in an unused index, which is smaller then its current length.

v4.1.2

09 Feb 19:22
Compare
Choose a tag to compare

Fixes

  • Fixed vanilla setState behavior. It is still not advised to use setState, use local stores instead.

Other Changes

  • Removed dynamic type validations. Use TypeScript, if you need type safety.

v4.1.1

04 Feb 19:14
Compare
Choose a tag to compare

Fixes

  • Expose TypeScript type definitions on npm

v4.1.0

25 Jan 13:36
Compare
Choose a tag to compare

Features

  • Added TypeScript type definitions

v4.0.1

14 Jan 11:24
Compare
Choose a tag to compare

Fixes

  • Removed package-lock

v4.0.0

13 Jan 17:58
Compare
Choose a tag to compare

Breaking changes

  • Renamed easyComp to view.
  • Renamed easyState to store.
  • Removed the observable this.store on easyComp components. Use this.store = store({}) instead to create local observable stores yourself.

Features

  • Uses setState instead of forceUpdate behind the scenes. This delegates render scheduling to React, which makes lifecycle hooks more predictable and supports React Fiber’s priority based render scheduling.

v3.0.1

10 Sep 13:38
Compare
Choose a tag to compare

Improvements

  • Improved the build process