Packages

redux

5.0.1 · 23 Dec 2023MIT62.6M / weekRepositoryHomepagenpmAtom feed

Upgrading redux From 0.8.1 to 0.9.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.8.1Newest 0.x0.12.0Latest5.0.1
  1. 0.8.1yours
  2. 0.9.0target
1
change to make
0
advisories fixed
0
new
0
fixes

Before you upgrade

Tick each one off as you go
  • breaking0.9.0
9 other lines we could not sort, mostly version bumps
  • createDispatcher now returns a function you need to give to createRedux

    0.9.0
  • createRedux is the primary API you'll use for initialization

    0.9.0
  • Instead of dispatcher prop, a dispatch function prop is injected by the <Connector> and @connect

    0.9.0
  • Instead of dispatcher prop, <Provider> and @provide accept a redux prop

    0.9.0
  • Instead of dispatcher.getAtom(), use redux.getState()

    0.9.0
  • Instead of dispatcher.setAtom(), you may pass a second initialState argument to createRedux

    0.9.0
  • Instead of dispatcher.perfrorm() or dispatcher.dispatch(), use redux.dispatch()

    0.9.0
  • bindActions is renamed to bindActionCreators and accepts dispatch as the second parameter

    0.9.0
  • You may skip composeStores and createDispatcher completely and just use createRedux(stores) as a shortcut

    0.9.0