DEV Community

Discussion on: What is Redux Toolkit? 🔨

Collapse
 
elvis2280 profile image
Elvis2280

Hi, I’m learning React and I know react class/function components hooks, custom hook etc, then I guess is time to learn redux,
What do u recommend me start learning redux or redux toolkit

Btw I’m learning first react-query than redux idk if it’s a good idea 😅 is hard know the next step in the react journey

Ty for your post it was useful :)!! If you habe time check my second react app I created, is basic but it let me get solid my basic react knowledge
covid19-dashboard-elvis2280.netlif...

Collapse
 
maxinejs profile image
Maxine

Hi! Thank you so much for the feedback, it is greatly appreciated.

In regards to what order and how/what you should learn, I do not think there is a "wrong" way/order to do it. It is great you are familiar with React and what can be done with it! If you look in the Redux Toolkit documentation, they actually say they intended for Redux Toolkit to become the new standard when writing Redux logic, a lot of people are digging it!

I would say just go for Redux Toolkit, if you are interested in vanilla Redux, it is always something you can go back and read up on later. RTK allows you to do all kinds of things in less, more organized, code. Just have some patience while learning it, don't be afraid of the documentation, and you'll be A-okay!

Collapse
 
lexiebkm profile image
Alexander B.K.

People should learn fundamentals of Redux first, gain a good grasp of its fundamental concepts like Store, Action, Action Creator, Dispatch and Reducer. Then, they can proceed to RTK to help working with Redux easier.

Collapse
 
elvis2280 profile image
Elvis2280

Thank u so much, I really appreciate your help :), sorry for take your time but you think I can use nextjs without learn redux first, I wanna start developing my portfolio but I don’t know if U should first learn redux. Btw thank u for everything, happy code ;)

Thread Thread
 
maxinejs profile image
Maxine

No problem!

I think you can learn Next.js without going too deep into Redux, but Next.js uses Redux for state management. So that means, Redux's "store" is used to hold information about the state of the application.

If you are unfamiliar with how an application's state and store works, I would read up on the documentation (the Redux documentation is not that scary, I promise.) Happy coding to you too! Best of luck.