RepoSense RS Monogram
RepoSensereposen.se
/llm.txtGitHub Repo

reduxjs/redux-toolkit

v2.14.0

Curated state management repository (reduxjs/redux-toolkit) tracked via conditional GitHub .atom polling.

BREAKING
What is reduxjs/redux-toolkit?

@reduxjs/toolkit is an open-source library and developer tool in the reduxjs/redux-toolkit ecosystem. It saves developers from writing repetitive low-level boilerplate from scratch by providing a battle-tested, open-source implementation ready for production.

STATE_MANAGEMENTnpm:@reduxjs/toolkitTypeScriptreleases.atom
11,245+17 stars (24h)
#redux-toolkit
AI Executive Summary & Artifact Size Impact
Quick Summary: What Changed · What To Do · Upgrade Effort

ApiRootState replaces RTK Query's RootState type, whic. Review breaking API changes before up… Migration: Moderate.

Semver: MINOR·Manifest: package.json
Artifact Size Impactunavailable
Size Unavailable
Telemetry unmeasured for pre-release or source-only registry build
Breaking Changes, Release Highlights & Migration Snippet

Key Release Highlights (v2.14.0)

  • ApiRootState replaces RTK Query's RootState type, which is now deprecated. RootState will be removed in 3.0.
  • TypedAddListenerAction and TypedRemoveListenerAction describe the actions that addListener and removeListener actually dispatch. The default payload type of `TypedAddLis...
  • dispatch(removeListener(...)) is typed as returning boolean and dispatch(clearAllListeners()) as returning void, matching the runtime.
  • UseQueryStateDefaultResult and UseInfiniteQueryStateDefaultResult are exported from @reduxjs/toolkit/query/react, for wrapping hooks with a generic selectFromResult.

Breaking Changes (Action Required)

  • ApiRootState replaces RTK Query's RootState type, which is now deprecated. RootState will be removed in 3.0.
  • TypedAddListenerAction and TypedRemoveListenerAction describe the actions that addListener and removeListener actually dispatch. The default payload type of TypedAddListener and TypedRemoveListener is now the listener options object, so addListener.match(action) no longer claims action.payload has fields like id and unsubscribe that don't exist at runtime.
Copy-Paste Upgrade / Migration Snippet
npm install @reduxjs/toolkit@2.14.0

Ecosystem Compatibility Matrix & Verified Graph Warnings

TypeScript 5.xcompatible— Ships standard TypeScript declaration files without type regressions.

Zero-Noise Historical Release Timeline (1)

Format: [Core Change] + [Required Action] + [Migration Effort]
v2.14.0BREAKING⚖️ Size Unavailable

ApiRootState replaces RTK Query's RootState type, whic. Review breaking API changes before up… Migration: Moderate.

Upgrade & Migration Q&A (reduxjs/redux-toolkit v2.14.0)

Direct Answers for Engineers & AI Agents

Is reduxjs/redux-toolkit v2.14.0 safe to upgrade in production?

reduxjs/redux-toolkit v2.14.0 is classified as BREAKING (MINOR release). ApiRootState replaces RTK Query's RootState type, whic. Review breaking API changes before up… Migration: Moderate.

What breaking changes or compatibility risks exist in reduxjs/redux-toolkit v2.14.0?

ApiRootState replaces RTK Query's RootState type, which is now deprecated. RootState will be removed in 3.0. TypedAddListenerAction and TypedRemoveListenerAction describe the actions that addListener and removeListener actually dispatch. The default payload type of TypedAddListener and TypedRemoveListener is now the listener options object, so addListener.match(action) no longer claims action.payload has fields like id and unsubscribe that don't exist at runtime.

What is the bundle size impact of @reduxjs/toolkit v2.14.0?

Measured bundle size telemetry is currently unavailable for @reduxjs/toolkit v2.14.0; verify build output locally before deploying.

How do I upgrade @reduxjs/toolkit to v2.14.0?

Upgrade @reduxjs/toolkit to v2.14.0 by running "npm install @reduxjs/toolkit@2.14.0" and applying the migration steps: npm install @reduxjs/toolkit@2.14.0