Releases: byte-fe/react-model
Releases · byte-fe/react-model
v4.2.1
v4.2.0
- feat(lane): add subscribe, unsubscribe apis
- feat(model): create models repeatedly will not override existing models
- fix(ssr): useLayoutEffect -> useEffect
v4.1.2
- fix(usemodel): only when constructor.name == 'Object' can data be merged
v4.1.1
- feat(migrate): support old model migration
v4.1.0
- feat(store): add createStore + useModel apis
- feat(createstore): support namespace
v4.0.1
- fix(devtools): don't connect devtools on production
- feat(subscribe): pass context to callback
v4.0.2
- feat(action): add return value
v4.0.0
v3.1.4
- fix(immer): remove the direct manipulation of global state
v3.1.3
- fix(getstate): fix error getState that exported from anonymous model