To learn redux I built an NBA Stats Compare App. Critique welcome.
Link to project - https://nbav-2-rkw3y.ondigitalocean.app/#/
Link to Github Code - https://github.com/Druashley/nbav2
Hello,
I am self taught dev and this is an app I built out to learn redux. The app uses chartjs and the balldontlie api to compare NBA players and their seasonal stat averages. I still used some local state management because redux is a bit overkill for the size of this project and I was simply trying to scratch the surface of redux. And it seems like both local state and redux state is used in most large projects? (correct me if I am wrong.)
I would appreciate any critique of the project and the redux implementation.
Cheers
Posted Dec 6, 2021, 7:10 PM UTC
If I open official redux site https://redux.js.org/ and press Get Started it says to install redux toolkit, with pretty big letters.
I guess the problem with RTK is that most people who starts are learning by youtube without even opening official docs, is this true?
I referenced some pages during implementation, but I did not begin my learning from the offical docs. I was not aware nor did I even notice RTK existed. Thank you for this.
Heh. In all honesty, this is one of the things that I am most sad about as a Redux maintainer. No matter how much effort we put into the docs, many people will never even look at them :(
and since there are thousands of horribly outdated tutorials that will never be updated, that means that a lot of folks like yourself will not see anything about RTK as they're learning Redux, and only ever learn how to use legacy Redux patterns that are very outdated and much harder to use than "modern Redux" with RTK.
I am happy that I got to learn it the incorrect way and can now look into the RTK. Great job working on it!