State Management Toolkit
11.2k 2026-04-22
reduxjs/redux-toolkit
The official, opinionated, batteries-included toolset for efficient Redux development.
Core Features
Simplified Redux store configuration with good defaults.
Reduced boilerplate for writing reducers and actions using createSlice.
Effortless immutable state updates via Immer integration.
Powerful data fetching and caching capabilities with RTK Query.
Automatic inclusion of redux-thunk and DevTools support.
Quick Start
npm install @reduxjs/toolkitDetailed Introduction
Redux Toolkit (RTK) is the official, opinionated toolset designed to simplify Redux development. It addresses common pain points like complex store configuration, excessive boilerplate, and the need for multiple packages. RTK provides utilities like configureStore, createSlice, and createReducer to streamline Redux logic, enabling developers to write more efficient and maintainable code. It also integrates Immer for simplified immutable updates and includes RTK Query for robust data fetching and caching, making Redux development more accessible and productive.