Redux Toolkit was mainly created to solve the THREE MAJOR ISSUES with Redux:
Configuring a Redux store is too complicated
Have to add a lot of packages to build a large scale application
Redux requires too much boilerplate code which makes it cumbersome to write efficient and clean code.
Redux Toolkit comes prebundled with the below features:
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 the global store
automatic support for Redux Dev-tools Extension
RTK Query for requests
Last updated 2 years ago