@reduxjs/toolkit

The official, opinionated, batteries-included toolset for efficient Redux development

evolve-and-diagnose-redux-apps/migrate-to-modern-redux

lifecycle
227 linesSource

Use this when moving a legacy Redux codebase to current RTK patterns. Covers replacing createStore with configureStore, migrating touched reducers to createSlice, codemod-assisted RTK 2 updates, and replacing server-data stacks with RTK Query instead of writing new legacy Redux code.