Redux Toolkit
The official, opinionated, batteries-included toolset for efficient Redux d...
README
Redux Toolkit
The official, opinionated, batteries-included toolset for efficient Redux development
(Formerly known as "Redux Starter Kit")
Installation
Using Create React App
The recommended way to start new apps with React and Redux Toolkit is by using the official Redux+JS template for Create React App , which takes advantage of React Redux's integration with React components.
- ``` shell
- npx create-react-app my-app --template redux
- ```
Or if you are a TypeScript user, use cra-template-redux-typescript , which is based on that template
- ``` shell
- npx create-react-app my-app --template redux-typescript
- ```
An Existing App
Redux Toolkit is available as a package on NPM for use with a module bundler or in a Node application:
- ``` shell
- # NPM
- npm install @reduxjs/toolkit
- # Yarn
- yarn add @reduxjs/toolkit
- ```