Skip to content

Successor Map · Frontend and mobile frameworks

Redux createStore to Redux Toolkit: migrate one reducer at a time

Redux itself is not going anywhere, but its maintainers marked the original createStore API as deprecated and call hand-written Redux obsolete. Redux Toolkit is the official way to write Redux now.

Slide: Redux on the left, an arrow, and Redux Toolkit on the right.
Status of the old tool
Deprecated
Effort to move
Mechanical
gen2.dev's view
Move when convenient
Sources checked
2026-11-28

Key facts

Gen 1Hand-written Redux: createStore, action type constants and reducers written by hand
Gen 2Redux Toolkit (configureStore and createSlice)
Kind of toolFrontend and mobile frameworks
Status of Gen 1Deprecated The Redux documentation, read on November 28, 2026, states that createStore is deprecated, a marking that began in Redux 4.2.0, and that it still works and will not be removed.
Effort to moveMechanical: same ideas, different calls
Automate part of it@reduxjs/rtk-codemods npx @reduxjs/rtk-codemods createSliceBuilder ./src Rewrites the createReducer and createSlice object syntax that Redux Toolkit 2.0 removed into the builder syntax.
What breaksconfigureStore adds development checks that report accidental state mutations and non-serializable values the old store never noticed.
Should you move?Move when convenient The Redux maintainers say createStore still works and will not be removed, and old and new code can coexist. This is gen2.dev's view, not the maintainers'.
Sources checked2026-11-28, 4 sources

Gen 1 and Gen 2 side by side

npm registry Gen 1 Gen 2
Packageredux@reduxjs/toolkit
Latest version5.0.12.15.0
Latest releaseDec 23, 2023Nov 18, 2026
First releaseOct 7, 2011Nov 13, 2019
LicenseMITMIT
Downloads, last week63,415,97347,718,004

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

What Gen 1 was

The original Redux pattern was written by hand. A store came from createStore. Every change needed an action type constant, an action creator and a reducer that copied state with spread syntax, never mutating it. It worked, and it produced a great deal of repetitive code.

That code still runs. The Redux documentation says: "The redux core package still works, but today we consider it to be obsolete."

What replaced it

Redux Toolkit, which the same documentation calls "our official recommended approach for writing Redux logic." It wraps the Redux core instead of replacing it.

Two functions do most of the work. configureStore sets up a store in one call, including the thunk middleware and the DevTools connection. createSlice generates the action creators and action types from the reducer functions, and lets those reducers be written in a mutating style that is turned into immutable updates.

The status of the old API is unusual and worth reading closely. Redux 4.2.0 marked createStore as deprecated to steer people toward Redux Toolkit. The release notes add, in capitals, that the maintainers are not going to actually remove it. A legacy_createStore export provides the same function without the warning.

What moving involves

The migration guide opens with the fact that matters most: "you can migrate your code to modern Redux incrementally, piece by piece, with old and new Redux code coexisting and working together!"

That is a strangler fig inside one store. The order the guide gives:

  • Replace the createStore call with configureStore. This is a one-time step, and "all of the existing reducers and middleware will continue to work as-is."
  • Pick one slice reducer and its actions and rewrite them with createSlice. Repeat, one reducer at a time.
  • Replace data fetching logic with RTK Query or createAsyncThunk where it helps.
  • Move components from connect to hooks, one component at a time. Both kinds can exist together.

What breaks

  • New checks. configureStore includes development checks for "accidental mutations and non-serializable values." A codebase that passed for years can light up with errors on the first step. These are existing bugs being reported, and libraries such as Redux-Persist need their action types added to an ignore list.
  • Payloads. With createSlice, the single value passed to an action creator becomes action.payload. Reducers that read fields such as action.id must change.
  • Rendering. connect skipped re-rendering a component when its inputs had not changed. Hooks cannot do that, so the guide says to wrap such components in React.memo yourself.

Should you move?

Move when it is convenient. The maintainers have said plainly that createStore will not be removed, so this is not a deadline. Do the first step, configureStore, soon, because it is small and the new checks find real bugs. Convert reducers as you touch them.

The exception is a stable app whose store code nobody edits. Leaving it alone costs nothing.

Common questions

Is Redux dead?

It is deprecated. The Redux documentation, read on November 28, 2026, states that createStore is deprecated, a marking that began in Redux 4.2.0, and that it still works and will not be removed.

What replaced Redux?

Redux Toolkit (configureStore and createSlice). Effort to move: Mechanical: same ideas, different calls

Should I move off Redux?

gen2.dev's view: Move when convenient. The Redux maintainers say createStore still works and will not be removed, and old and new code can coexist.

Sources

  1. createStore - Redux API documentation - States that createStore is deprecated, that it still works and will not be removed, and that the marking began in Redux 4.2.0.
  2. Redux v4.2.0 release notes - reduxjs/redux - GitHub - Marks the original createStore API as deprecated, says it will not actually be removed, and adds the legacy_createStore export.
  3. Why Redux Toolkit is How To Use Redux Today - Redux documentation - Calls Redux Toolkit the official recommended approach and describes the redux core package used alone as obsolete.
  4. Migrating to Modern Redux - Redux documentation - The migration guide: the order of steps, coexistence of old and new code, and the development checks.
  5. redux - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
  6. @reduxjs/toolkit - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.