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!
Top comments (7)
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!
Thanks, I think this will help
Learn React Context API first.
Yeah I did, but after trying to combine Redux with react felt stuck
Yeah, that's normal, don't worry about it.
redux has probably one of the best documentations out there
Okay I'll try it, thanks