Releases: RisingStack/react-easy-state
Releases · RisingStack/react-easy-state
v3.0.0
Breaking changes
- Rename
component.state
tocomponent.store
.
v2.0.3
Fix
- Fix build. Temporarily transpile to es5 to work with uglifyJS until it starts to support es6 (without beta).
v2.0.2
Fixes
- Fixed CommonJS build
v2.0.1
Fixes
- Fix a critical bug with the build process.
V2.0.0
Breaking changes
-
Easy State has two named exports (
easyComp
andeasyStore
) instead of the default exportedeasyState
. (easyState
becameeasyComp
). -
Defining your own
componentShouldUpdate
will throw on error from now on. It should not be defined, as it is already optimized byeasyComp
.
Features
- Added
easyStore
for global state management.
v1.0.5
Fixes
- Fixed the CommonJS module build.
v1.0.4
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 definedshouldComponentUpdate
is prioritized over Easy State's internal one, but it is discouraged (as the internal one is pretty optimal.)
v1.0.3
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.