Skip to content

v0.5.0

Compare
Choose a tag to compare
@yezyilomo yezyilomo released this 07 Jul 14:48
· 140 commits to master since this release
326e743

Changes

  • Removed useGlobal and useGlobalReducer
  • Allow passing both key and global state object on useGlobalState and useGlobalStateReducer
  • Run useEffect in useGlobalStateReducer only on mounting and unmounting components(Simply subscribe when mounting and unsubscribe when unmounting)