changelogs.md


fozg/react-light-state

Repository  -  API  -  Source

0.0.11

  • Fix Types define

0.0.10

  • Fix bugs

0.0.9

  • Added key to getState(key)
  • Added setState callback
  • Added dispatch callback
  • Remove boomerang method
  • Added type define
  • Added tests

0.0.8

  • Fixed critical bug with withLight

0.0.7

  • Added storage api

0.0.6

  • Added useStore hook
  • Added dispatch api
  • Update setState
  • Fixed init data issues

0.0.5

  • Added render props <Light mapStateToProps={...}>.
  • Added connect hoc, same with withLight.

0.0.4

  • Fix withLight hocs.
  • setState now support async function.

0.0.3

  • Now support mapStateToProps.
  • Now support setState async by default, like redux-thunk.
  • Added resetState.
  • Added boomerang method.
  • Added subscribe method.
  • Added unsubscribe method.

Fixes:

  • Added unsubscribe & remove all subscribe when umount a withLight.