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.

Discussions

Redux vs Redux toolkit
Hi, I'm a Redux maintainer. We specifically want all Redux users to learn and use Redux Toolkit as the right approach! Please see our docs for details: https://redux.js.org/introduction/why-rtk-is-redux-today https://redux.js.org/tutorials/essentials/part-1-overview-concepts https://blog.isquaredsoftware.com/2022/06/presentations-modern-redux-rtk/ More on reddit.com
๐ŸŒ r/reactjs
39
37
April 16, 2023
What is the difference between React Redux and Redux Toolkit and which one should I learn in 2020?

You use them together.

Per that official tutorial:

  • Redux is the core state management library

  • Redux Toolkit wraps around the Redux core and provides APIs to simplify common Redux use cases

  • React-Redux lets your React components talk to a Redux store, however it was created

So, you'll be creating your store with Redux Toolkit, and passing the store to React-Redux.

Keep reading that official "Redux Essentials" tutorial - it explains how to do all this.

More on reddit.com
๐ŸŒ r/reactjs
7
7
August 19, 2020
I don't like redux-toolkit.
Hi, I created Redux Toolkit. Can you clarify what your concerns are? I'm very happy to respond in more detail, but this really isn't listing any specific or concrete concerns that I can help with. What is "misleading"? What "resources" are you looking at? For that matter, what do you mean by "no understanding of how it works" or "unsound architecture"? RTK is Redux. You're still creating a Redux store, dispatching actions, and writing reducers that respond to actions with immutable state updates. You're just writing less code to do it. The only concrete problem statement I see in here is "circular dependencies". That's a factor of using the "ducks" single-file-per-feature structure , not something that's specific to RTK - you could run into that same issue if you're writing Redux code by hand organized into "ducks" files. That said, the RTK Usage Guide specifically has some suggestions on how to fix that issue when you run into it . I'd appreciate it if you could reply or edit with some more details, because I'd really like to understand what your actual concerns are here. More on reddit.com
๐ŸŒ r/reactjs
19
23
December 5, 2020
zustand vs redux(or redux toolkit) ? which to use for scalable react projects?
Not sure about Zustand as I haven't used it much, but Redux toolkit has been great. Chances are that you don't need as much global state as you might think. Many developers make the mistake of globalizing components that simply don't need to be global. I'd recommend caution here. Some good articles: https://kentcdodds.com/blog/how-to-use-react-context-effectively https://kentcdodds.com/blog/application-state-management-with-react As an aside, reducers are an excellent state management tool. I use Redux Toolkit for both global (typical Redux provider) and local state (useReducer). I'd recommend Redux Toolkit because of its ability to handle both of these use cases. More on reddit.com
๐ŸŒ r/reactjs
9
1
December 27, 2021
๐ŸŒ
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!
๐ŸŒ
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.
๐ŸŒ
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.
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 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!
๐ŸŒ
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.
๐ŸŒ
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.
๐ŸŒ
DEV Community
dev.to โ€บ srmagura โ€บ the-great-redux-toolkit-debate-5045
The Great Redux Toolkit Debate - DEV Community
September 30, 2021 - If you're already using Redux and Immer, there's no reason you have to switch to Redux Toolkit.