Skip to content

Upgrading redux 0.9 to 0.10

Breaking0.9.0 → 0.10.1Breaking2New1Changed2Fixed1Other1

BreakingUpgrade verdict

2 breaking changes.

  • If you use React helpers, you now import them from a React-specific path instead of the main package.
  • Async action creators that return a function now need the thunk middleware, which the createRedux(stores) shortcut adds automatically but createDispatcher() does not.
2 items need code or config changes

Drops react.

Installs 40 packages in all (was 41).

Breaking2
React Native is now supported, and React-specific parts must be imported from redux/react or redux/react-native.
redux/reactredux/react-native
Returning a function from an action creator for async dispatches is now thunkMiddleware(), included by createRedux(stores) but not createDispatcher().
thunkMiddleware()createRedux(stores)createDispatcher()getState()