Packages

react-redux

9.3.1 · 27 Oct 2026MIT54.9M / weekRepositorynpmAtom feed

Upgrading react-redux From 5.1.2 to 6.0.0

1 release in betweenevery note read

Other targets from 5.1.2Latest9.3.1
  1. 5.1.2yours
  2. 6.0.0target
2
changes to make
0
advisories fixed
0
new
1
fix

Before you upgrade

Tick each one off as you go
  • breaking6.0.0
  • breaking6.0.0

Release by release

  1. 6.0.0

    Migration needed5 Dec 20181 fix
    • breaking

      The withRef option to connect has been replaced with forwardRef. If {forwardRef : true} has been passed to connect, adding a ref to the connected wrapper component will actually return the instance of the wrapped component.

    • breaking

      Passing store as a prop to a connected component is no longer supported. Instead, you may pass a custom context={MyContext} prop to both <Provider> and <ConnectedComponent>. You may also pass {context : MyContext} as an option to connect.

    • fixed

      Ensure connectAdvanced only re-renders if derived props change

4 other lines we could not sort, mostly version bumps
  • Use React.createContext()

    6.0.0
  • Use Prettier

    6.0.0
  • Only run isValidElementType in development builds

    6.0.0
  • Treat null as a valid plain object prototype in isPlainObject()

    6.0.0