Releases: RisingStack/react-easy-state
Releases · RisingStack/react-easy-state
v3.0.0
Breaking changes
- Rename
component.statetocomponent.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 (
easyCompandeasyStore) instead of the default exportedeasyState. (easyStatebecameeasyComp). -
Defining your own
componentShouldUpdatewill throw on error from now on. It should not be defined, as it is already optimized byeasyComp.
Features
- Added
easyStorefor 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
shouldComponentUpdatebeing always overwritten. From now user definedshouldComponentUpdateis 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.