That looks good, the author is also a very good teacher. With that said, if you know a bit about redux already, there is a new official way of using redux in a simpler way with
that is much easier to comprehend (no mapstatetoprops, no creating copies of state in actions to be immutable, etc.) and also there is this nice
library too which is also using redux, thunk, and immer to make your life much easier, and seems much more intuitive to use and simpler compared to plain redux.
Some tips because I feel like at this early morning hour while only half waken-up, though I am not an expert: redux is a heavy-weight guy (even if its concepts are not too much and codewise is not a huge lib), quite often you can get by with lifting your state up and composing components,
. Also react now has a working useContext hook for a while && let's not forget about useReducer as a simplified built-in redux in react either! With these and proper use of useState inside your components you might figure that you don't even need redux. Also
-
- will help you manage your state on the server (database) and caching stuff as needed locally. You might not need to keep too much stuff on your client anyway, maybe it is a cache you need from the backend is all.