Skip to content

Releases: byte-fe/react-model

v4.2.1

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 14 Jan 08:30
  • fix(devtool): add devtool support for createStore

v4.2.0

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 16 Nov 13:35
  • feat(lane): add subscribe, unsubscribe apis
  • feat(model): create models repeatedly will not override existing models
  • fix(ssr): useLayoutEffect -> useEffect

v4.1.2

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 09 Sep 13:46
  • fix(usemodel): only when constructor.name == 'Object' can data be merged

v4.1.1

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 09 Sep 13:44
  • feat(migrate): support old model migration

v4.1.0

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 04 Aug 02:56
  • feat(store): add createStore + useModel apis
  • feat(createstore): support namespace

v4.0.1

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 17 Jun 08:02
  • fix(devtools): don't connect devtools on production
  • feat(subscribe): pass context to callback

v4.0.2

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 25 Jun 06:14
  • feat(action): add return value

v4.0.0

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 20 May 10:17
  • feat(usestore): use selector to replace depActions (#161)

v3.1.4

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 12 Jul 10:09
  • fix(immer): remove the direct manipulation of global state

v3.1.3

Choose a tag to compare

@ArrayZoneYour ArrayZoneYour released this 08 Jul 07:07
  • fix(getstate): fix error getState that exported from anonymous model