Modern Redux with Redux Toolkit
summary
Redux Toolkit removes boilerplate by providing configureStore, createSlice (with Immer built in) and helpers like createAsyncThunk and createEntityAdapter so reducers and async flows shrink to a few lines; rtk Query generates hooks (example: useGetPokemonByNameQuery) to handle fetching and caching; Listener middleware offers saga‑like async workflows with async/await. Toolkit reports dramatically fewer mutation bugs and the project ships Redux Toolkit 2.0 Alpha 5 and Redux core 5.0 Alpha with modern ESM builds and smaller bundles.
AI-written summary · about
chapters (12)
- 0:00Redux Toolkit intro
- 3:55Why RTK was created
- 6:04Configure store with configureStore
- 7:51Immutable updates with Immer
- 9:17Simplify reducers with createSlice
- 12:31Async logic with createAsyncThunk
- 14:16RTK Query for data fetching
- 18:35Replace sagas with Listener Middleware
- 20:43TypeScript support in Redux Toolkit
- 23:55Deprecating original Redux API
- 25:41RTK 2.0 and future plans
- 28:13Conclusion and migration








