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 initreact-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.
React-Redux's types now require TypeScript 5.4 or later because the internal NoInfer helper was replaced with TypeScript's built-in NoInfer.
The primary build artifact is now an ESM file, and build artifacts live under dist/ in the published package.
Published JavaScript now targets ES2020; projects targeting older browsers need to transpile the packages themselves or use the legacy-esm artifact for ES2017.
This is the new name for the useSelector development check option formerly called noopCheck.
The noopCheck option was renamed to identityFunctionCheck for clarity.
React 18 is now required; React-Redux imports useSyncExternalStore directly instead of the shim.
React-Redux now depends on Redux core v5 for updated TypeScript types.
TypeScript 4.6 and earlier are no longer supported; the support matrix is TypeScript 4.7+.
UMD build artifacts have been dropped from the published package; a browser ESM file is provided for CDN use.
The options object now uses devModeChecks to configure development checks, with stabilityCheck and identityFunctionCheck frequencies of never, once, or always.
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.
New APIs and options 4
React-Redux exports legacy_connect as an alias for connect without the deprecation attribute.
A browser ESM file is available to load from a CDN like Unpkg.
A second ESM build artifact supports Webpack 4, which does not recognize the exports field in package.json.
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.
Behavior and default changes 2
Errors thrown during a store update are logged to console.error in development; production behavior is unchanged.
The package.json sideEffects field is now set to false.
Tooling 1
React types now use scoped JSX.
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.
Without forwardRef enabled, connect no longer replaces a ref passed as a regular prop with its own undefined ref.
Ordered overloads for factory and plain mapStateToProps, mapDispatchToProps, and mergeProps forms fix connected-component prop inference under TypeScript 7.
An explicit false value on mapStateToProps or mapDispatchToProps is now respected, including for functions declared with two parameters.
Rendering Provider in a React Server Component without use client now throws a clear development-mode error instead of failing with a confusing error.
Context typing was made more accurate.
Fixed useSelector in combination with lazy loaded components breaking with React 18.
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.
The legacy connectAdvanced API was removed; users of it need to rewrite their code, likely using the hooks API instead.
The DefaultRootState type was removed; state generics now default to unknown instead.
Published build artifacts now target syntax equivalent to ES2017, slightly shrinking bundle size; ES5-only environments may need dependencies compiled for their target.
New APIs and options 3
A Connect<State = unknown> type is available as a pre-typed version of connect.
The serverState prop supplies the serialized state used for the initial hydration render to help prevent hydration mismatch errors.
A new entry point imports useSyncExternalStore directly from React, avoiding the shim and its bundle cost when using React 18.
Behavior and default changes 1
useSelector, connect, and Provider use useSyncExternalStore for React 18 compatibility; the shim supports earlier React versions with hooks.
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.
react-redux 68 changes
Breaking changes 4
The withRef option to connect has been replaced with forwardRef.
Libraries that access the store instance out of legacy context will break because the store state is now put into a Context.Provider instead.
React 16.4 or higher is now required to support the new Context API.
Passing store as a prop to a connected component is no longer supported.
New APIs and options 2
Passing forwardRef: true makes a ref on the connected wrapper return the wrapped component's instance.
A custom context can be passed to Provider and ConnectedComponent, or supplied as an option to connect.
Performance 1
connectAdvanced only re-renders when derived props change.
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.