unstale

npm / react-redux

react-redux

What changed in react-redux 6 to 9, from its official release notes, upgrade guides and advisories. Also covers @types/react-redux. Sources checked 2026-11-30.

19 breaking1 deprecations9 new APIs and options1 performance4 behavior and defaults2 tooling7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-redux 926 changes

Breaking changes 11

  • Falsy serverState values such as 0, false, and '' are now used during SSR and hydration; null and undefined still mean no server state.

    9.3.1release notes

  • React-Redux's types now require TypeScript 5.4 or later because the internal NoInfer helper was replaced with TypeScript's built-in NoInfer.

    9.3.1release notes

  • The primary build artifact is now an ESM file, and build artifacts live under dist/ in the published package.

    9.0.0release notes

  • Published JavaScript now targets ES2020; projects targeting older browsers need to transpile the packages themselves or use the legacy-esm artifact for ES2017.

    9.0.0release notes

  • This is the new name for the useSelector development check option formerly called noopCheck.

    9.0.0release notes

  • The noopCheck option was renamed to identityFunctionCheck for clarity.

    9.0.0release notes

  • React 18 is now required; React-Redux imports useSyncExternalStore directly instead of the shim.

    9.0.0release notes

  • React-Redux now depends on Redux core v5 for updated TypeScript types.

    9.0.0release notes

  • TypeScript 4.6 and earlier are no longer supported; the support matrix is TypeScript 4.7+.

    9.0.0release notes

  • UMD build artifacts have been dropped from the published package; a browser ESM file is provided for CDN use.

    9.0.0release notes

  • The options object now uses devModeChecks to configure development checks, with stabilityCheck and identityFunctionCheck frequencies of never, once, or always.

    9.0.0release notes

Deprecations 1

  • The connect API is marked deprecated to encourage migration to the useSelector and useDispatch hooks; its behavior is unchanged and it will not be removed.

    9.3.0release notes

New APIs and options 4

  • React-Redux exports legacy_connect as an alias for connect without the deprecation attribute.

    9.3.0release notes

  • A browser ESM file is available to load from a CDN like Unpkg.

    9.0.0release notes

  • A second ESM build artifact supports Webpack 4, which does not recognize the exports field in package.json.

    9.0.0release notes

  • A new entry point with a react-server condition makes every export throw when called, helping catch React-Redux API use in React Server Components.

    9.0.0release notes

Behavior and default changes 2

  • Errors thrown during a store update are logged to console.error in development; production behavior is unchanged.

    9.3.1release notes

  • The package.json sideEffects field is now set to false.

    9.0.0release notes

Tooling 1

Fixes and other changes 7

  • A connected component's custom context prop is now honored in production, avoiding errors or reads from the default provider's store.

    9.3.1release notes

  • Without forwardRef enabled, connect no longer replaces a ref passed as a regular prop with its own undefined ref.

    9.3.1release notes

  • Ordered overloads for factory and plain mapStateToProps, mapDispatchToProps, and mergeProps forms fix connected-component prop inference under TypeScript 7.

    9.3.1release notes

  • An explicit false value on mapStateToProps or mapDispatchToProps is now respected, including for functions declared with two parameters.

    9.3.1release notes

  • Rendering Provider in a React Server Component without use client now throws a clear development-mode error instead of failing with a confusing error.

    9.3.1release notes

  • Context typing was made more accurate.

    9.0.0release notes

  • Fixed useSelector in combination with lazy loaded components breaking with React 18.

    9.0.0release notes

react-redux 89 changes

Breaking changes 4

  • The pure option was removed because it was barely used and React 18's useSyncExternalStore requires immutable updates.

    8.0.0release notes

  • The legacy connectAdvanced API was removed; users of it need to rewrite their code, likely using the hooks API instead.

    8.0.0release notes

  • The DefaultRootState type was removed; state generics now default to unknown instead.

    8.0.0release notes

  • Published build artifacts now target syntax equivalent to ES2017, slightly shrinking bundle size; ES5-only environments may need dependencies compiled for their target.

    8.0.0release notes

New APIs and options 3

  • A Connect<State = unknown> type is available as a pre-typed version of connect.

    8.0.0release notes

  • The serverState prop supplies the serialized state used for the initial hydration render to help prevent hydration mismatch errors.

    8.0.0release notes

  • A new entry point imports useSyncExternalStore directly from React, avoiding the shim and its bundle cost when using React 18.

    8.0.0release notes

Behavior and default changes 1

  • useSelector, connect, and Provider use useSyncExternalStore for React 18 compatibility; the shim supports earlier React versions with hooks.

    8.0.0release notes

Tooling 1

  • React-Redux now includes its own TypeScript types, so the separate @types/react-redux package is no longer needed and should be removed as a dependency.

    8.0.0release notes

react-redux 68 changes

Breaking changes 4

  • The withRef option to connect has been replaced with forwardRef.

    6.0.0release notes

  • Libraries that access the store instance out of legacy context will break because the store state is now put into a Context.Provider instead.

    6.0.0release notes

  • React 16.4 or higher is now required to support the new Context API.

    6.0.0release notes

  • Passing store as a prop to a connected component is no longer supported.

    6.0.0release notes

New APIs and options 2

  • Passing forwardRef: true makes a ref on the connected wrapper return the wrapped component's instance.

    6.0.0release notes

  • A custom context can be passed to Provider and ConnectedComponent, or supplied as an option to connect.

    6.0.0release notes

Performance 1

  • connectAdvanced only re-renders when derived props change.

    6.0.0release notes

Behavior and default changes 1

  • Components read the same current store state value from context, keeping the tree consistent and avoiding tearing when actions are dispatched during mounting.

    6.0.0release notes