Skip to content

Releases: byte-fe/react-model

v4.2.1

14 Jan 08:30
Compare
Choose a tag to compare
  • fix(devtool): add devtool support for createStore

v4.2.0

16 Nov 13:35
Compare
Choose a tag to compare
  • feat(lane): add subscribe, unsubscribe apis
  • feat(model): create models repeatedly will not override existing models
  • fix(ssr): useLayoutEffect -> useEffect

v4.1.2

09 Sep 13:46
Compare
Choose a tag to compare
  • fix(usemodel): only when constructor.name == 'Object' can data be merged

v4.1.1

09 Sep 13:44
Compare
Choose a tag to compare
  • feat(migrate): support old model migration

v4.1.0

04 Aug 02:56
Compare
Choose a tag to compare
  • feat(store): add createStore + useModel apis
  • feat(createstore): support namespace

v4.0.1

17 Jun 08:02
Compare
Choose a tag to compare
  • fix(devtools): don't connect devtools on production
  • feat(subscribe): pass context to callback

v4.0.2

25 Jun 06:14
Compare
Choose a tag to compare
  • feat(action): add return value

v4.0.0

20 May 10:17
Compare
Choose a tag to compare
  • feat(usestore): use selector to replace depActions (#161)

v3.1.4

12 Jul 10:09
Compare
Choose a tag to compare
  • fix(immer): remove the direct manipulation of global state

v3.1.3

08 Jul 07:07
Compare
Choose a tag to compare
  • fix(getstate): fix error getState that exported from anonymous model