DEV Community

Abdelkhalek selim
Abdelkhalek selim

Posted on

I'm Feeling confused while learning Redux with react, any tips?

Top comments (7)

Collapse
 
valeriavg profile image
Valeria

Redux can be used without React and I suggest you to try it separately. Create the simplest html page, import redux with a script tag and play with it. Think of redux as a big weird object store that can only be charged by calling action functions, not a direct assignment. This allows you to record a history of changes that can be used to rewind and forward state in time (aka time travel). Try implementing a form with undo and redo functionality. Once you've grasped the concept itself it should be easy to introduce React-related Redux hooks and other utilities. Good luck!

Collapse
 
abdelkhalekselim profile image
Abdelkhalek selim

Thanks, I think this will help

Collapse
 
ishakmohmed profile image
Mohmed Ishak

Learn React Context API first.

Collapse
 
abdelkhalekselim profile image
Abdelkhalek selim

Yeah I did, but after trying to combine Redux with react felt stuck

Collapse
 
ishakmohmed profile image
Mohmed Ishak

Yeah, that's normal, don't worry about it.

Collapse
 
mrvaa5eiym profile image
mrVAa5eiym

redux has probably one of the best documentations out there

Collapse
 
abdelkhalekselim profile image
Abdelkhalek selim

Okay I'll try it, thanks