18
loading...
This website collects cookies to deliver better user experience
Configuring a Redux store is too complicated: Redux Toolkit offers configureStore function to simplify configuration.
Need to add lots of packages: Redux Toolkit reduces the need to add multiple packages to build large scale application
**Too much boilerplate code: **Redux requires too much boilerplate code which makes it cumbersome to write efficient and clean code. Redux Toolkit helps to reduce boilerplate code.
immer.js => a library/tool to handle immutability in stores.
redux => For state management
redux-thunk =>For async tasks
reselect => For selecting a slice out of global store
automatic support for Redux Dev-tools Extension
npm install @reduxjs/toolkit
yarn add @reduxjs/toolkit
npx create-react-app my-app — template redux
npm install redux
yarn add redux