Redux used to be great but if you have tried none of them, I would highly recommend using Redux-Toolkit. The only case where I may want you to stick to redux is when you're using class-based components, where Redux Toolkit does have some boilerplate (like Redux) and you may miss out decent support.

However with functional components, Redux toolkit is like Redux on steroids.

Reason for using Redux toolkit:

  1. A lot lesser boilerplate code is required compared to Redux.

  2. Redux hooks like useSelector and useDispatch make things so short and easy to use. [This is not specific to Redux toolkit, however, highlighting it here as it is extremely helpful to consume these hooks in functional component and might be helpful for those who are completely new to redux]

  3. You don't need to do manual thunk setup as redux-toolkit comes with out of the box createAsyncThunk which enables you to perform async operations in very hassle free way.

  4. getState is also very helpful in obtaining state variables across any of your actions or async operations.

  5. Mutability might be considered as advantage or disadvantage, but if you're not too used to writing with spread operators, you might love this feature as well. Do straight assignments and let redux toolkit take care of mutability under the hoods.

  6. current can be used to log your state anywhere in case you want to debug and understand where things are going wrong. (Of course, Redux debugger tools are great as well)

  7. Prebuilt templates: you might want to use npx create-react-app my-app --template redux-typescript or if you're using it with next: yarn create next-app --example with-redux with-redux-app. It gives you a setup ready redux toolkit boiler plate and also contains a boiler plate of most important redux state management applications so that you could refer them to create your own slices very easily.

I have been using a lot of redux and initially it was a bit confusing but once you get a good command over redux toolkit and if you're using a lot of functional components, you probably would never go back to redux again.

Answer from Shivam Sahil on Stack Overflow
Top answer
1 of 2
104

Redux used to be great but if you have tried none of them, I would highly recommend using Redux-Toolkit. The only case where I may want you to stick to redux is when you're using class-based components, where Redux Toolkit does have some boilerplate (like Redux) and you may miss out decent support.

However with functional components, Redux toolkit is like Redux on steroids.

Reason for using Redux toolkit:

  1. A lot lesser boilerplate code is required compared to Redux.

  2. Redux hooks like useSelector and useDispatch make things so short and easy to use. [This is not specific to Redux toolkit, however, highlighting it here as it is extremely helpful to consume these hooks in functional component and might be helpful for those who are completely new to redux]

  3. You don't need to do manual thunk setup as redux-toolkit comes with out of the box createAsyncThunk which enables you to perform async operations in very hassle free way.

  4. getState is also very helpful in obtaining state variables across any of your actions or async operations.

  5. Mutability might be considered as advantage or disadvantage, but if you're not too used to writing with spread operators, you might love this feature as well. Do straight assignments and let redux toolkit take care of mutability under the hoods.

  6. current can be used to log your state anywhere in case you want to debug and understand where things are going wrong. (Of course, Redux debugger tools are great as well)

  7. Prebuilt templates: you might want to use npx create-react-app my-app --template redux-typescript or if you're using it with next: yarn create next-app --example with-redux with-redux-app. It gives you a setup ready redux toolkit boiler plate and also contains a boiler plate of most important redux state management applications so that you could refer them to create your own slices very easily.

I have been using a lot of redux and initially it was a bit confusing but once you get a good command over redux toolkit and if you're using a lot of functional components, you probably would never go back to redux again.

2 of 2
20

Redux Toolkit is the official recommendation for all Redux code you write since 2019. See the Redux Style guide on this and Why Redux Toolkit is How To Use Redux Today.

I would recommend you start learning Redux by following the official Redux "Essentials" tutorial from the Redux homepage - and that will teach you Redux Toolkit from the beginning.

๐ŸŒ
Syncfusion
syncfusion.com โ€บ blogs โ€บ react โ€บ should we switch from redux to redux toolkit?
Should We Switch from Redux to Redux ToolKit? | Syncfusion Blogs
December 17, 2025 - Redux involves manually configuring middleware, reducers, and sometimes enhancers, whereas the Redux Toolkit uses configureStore to set up the store and manages reducers with createSlice.
๐ŸŒ
Redux
redux.js.org โ€บ why redux toolkit is how to use redux today
Why Redux Toolkit is How To Use Redux Today | Redux
July 18, 2024 - Redux Toolkit offers excellent TS support, with APIs that are designed to give you excellent type safety and minimize the number of types you have to define in your code ยท RTK Query can eliminate the need to write any thunks, reducers, action creators, or effect hooks to manage fetching data and tracking loading state ... We specifically recommend that our users should use Redux Toolkit (the @reduxjs/toolkit package), and should not use the legacy redux core package for any new Redux code today!
๐ŸŒ
Medium
medium.com โ€บ @Has_San โ€บ difference-between-redux-and-redux-toolkit-7e1e5431546d
Difference Between Redux and Redux Toolkit | by Has San | Medium
January 3, 2024 - Redux is powerful, but setting it up and writing boilerplate code for actions and reducers can be time-consuming. Redux Toolkit is a set of utilities, including a standardized way to write reducers, create actions, and configure the Redux store.
๐ŸŒ
TatvaSoft
tatvasoft.com โ€บ home โ€บ redux vs redux toolkit- key differences
Redux vs Redux Toolkit- Key Differences - TatvaSoft Blog
July 11, 2024 - Redux is a very useful state management tool for React, but it entails a significant amount of boilerplate code and API verbosity. Therefore it was decided to develop and deploy Redux Toolkit to solve these challenges that come with using Redux with React.
Find elsewhere
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ reactjs โ€บ why-redux-toolkit-is-preferred-over-redux
Why Redux Toolkit is preferred over Redux ? - GeeksforGeeks
July 28, 2023 - Redux Toolkit is used for writing redux code but in a more concise way. Redux Toolkit (RTK) solves problems that most of the developerโ€™s face who used redux in a react application.
๐ŸŒ
LinkedIn
linkedin.com โ€บ pulse โ€บ redux-vs-toolkit-choosing-right-state-management-solution-birta
Redux vs Redux Toolkit: Choosing the Right State Management Solution
June 28, 2023 - Redux Toolkit provides a simplified and opinionated approach to state management compared to plain Redux. It reduces boilerplate code and offers additional features such as immutability handling and DevTools integration.
๐ŸŒ
DEV Community
dev.to โ€บ wafa_bergaoui โ€บ redux-vs-redux-toolkit-redux-thunk-vs-redux-saga-59cd
Redux VS Redux Toolkit && Redux Thunk VS Redux-Saga - DEV Community
July 10, 2024 - Redux Toolkit is an official, recommended way to use Redux, which simplifies setup and reduces boilerplate.
๐ŸŒ
Medium
medium.com โ€บ @omrisa25 โ€บ redux-vs-redux-toolkit-a-tale-of-two-state-management-libraries-d0079412cdcf
Redux vs. Redux Toolkit: A Tale of Two State Management Libraries | by Fullstacker | Medium
December 7, 2022 - Redux vs. Redux Toolkit: A Tale of Two State Management Libraries Redux and redux-toolkit are two popular libraries used for managing state in JavaScript applications. While both libraries can be โ€ฆ
๐ŸŒ
DEV Community
dev.to โ€บ azadulkabir455 โ€บ redux-vs-redux-toolkit-472b
Redux Vs Redux Toolkit - DEV Community
January 15, 2023 - Redux Toolkit: Redux Toolkit is a set of tools that helps simplify Redux development.
๐ŸŒ
Quora
quora.com โ€บ I-learned-React-js-Should-I-proceed-with-Redux-or-Redux-Toolkit
I learned React.js. Should I proceed with Redux or Redux Toolkit? - Quora
Answer (1 of 4): If you have a solid grasp of React.js and anticipate building larger applications with complex state interactions, learning Redux can be beneficial. Redux gives you more control over your state management and is well-suited for projects that require advanced features like middlew...
๐ŸŒ
Reddit
reddit.com โ€บ r/reactjs โ€บ what is the difference between react redux and redux toolkit and which one should i learn in 2020?
r/reactjs on Reddit: What is the difference between React Redux and Redux Toolkit and which one should I learn in 2020?
August 19, 2020 -

Hi, so I was learning Redux from this youtube playlist, which is about a year old. In the aforementioned series, the instructor uses React Redux to create the store and use Redux in a React app.

I was then going through the official tutorial and I found out about Redux Toolkit, which they say is "is our recommended approach for writing Redux logic".

So I am a bit confused now about the difference between them and which library should I use now in 2020.

๐ŸŒ
Redux
redux.js.org โ€บ redux toolkit: overview
Redux Toolkit: Overview | Redux
March 6, 2023 - Redux Toolkit makes it easier to write good Redux applications and speeds up development, by baking in our recommended best practices, providing good default behaviors, catching mistakes, and allowing you to write simpler code.
๐ŸŒ
Redux Toolkit
redux-toolkit.js.org โ€บ why redux toolkit is how to use redux today
Why Redux Toolkit is How To Use Redux Today | Redux Toolkit
Redux Toolkit offers excellent TS support, with APIs that are designed to give you excellent type safety and minimize the number of types you have to define in your code ยท RTK Query can eliminate the need to write any thunks, reducers, action creators, or effect hooks to manage fetching data and tracking loading state ... We specifically recommend that our users should use Redux Toolkit (the @reduxjs/toolkit package), and should not use the legacy redux core package for any new Redux code today!
๐ŸŒ
OpenReplay
blog.openreplay.com โ€บ redux-is-dead-long-live-redux-toolkit
Redux is Dead: Long Live Redux Toolkit
To address these challenge, the Redux team came up with Redux Toolkit, the official recommended approach for writing Redux logic. It aims to speed up Redux development by including Redux Core with the packages that they think are essential to build a Redux app.
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ redux-and-redux-toolkit-for-beginners
How to Use Redux and Redux Toolkit โ€“ Tutorial for Beginners
May 4, 2023 - You should now have the same app as before with a few updates from Redux Toolkit and a lot less code to maintain. If you've followed along with this tutorial, you should now have a solid understanding of Redux, both the traditional approach and the simplified version using Redux Toolkit.