Bullshit
happysmile12321 opened this issue · 1 comments
you just a pure thing,so complex,bullshit!!!
Hello HappySmile12321,
reading your very detailed question, I would assume that you are following an outdated Redux tutorial. Please be aware that modern Redux does not use switch..case
reducers, ACTION_TYPE constants, hand-written action creators, immutable update logic in reducers, connect
/mapStateToProps
or complex createStore
store setup - since 2019. Unfortunately, many tutorials out there have not updated since and unfortunately some (not very trustworthy) authors are still putting up outdated tutorials to this day.
I would highly recommend you stop following the sources you are following right now and following the official "Redux Essentials" tutorial instead, which teaches you modern Redux, which is much less error-prone and about 1/4 of the code. It still has some complexity, since there are just a lot of things you can do with Redux, but it has a lot less moving parts.
You might also want to read Why Redux Toolkit is How To Use Redux Today and if you are in a team using legacy Redux forward that link to your team.
I wish you a happy day with lots of happy smiles, HappySmile12321.
PS: I would recommend you to take care of your number of exclamation marks since according to Terry Pratchett, "a person's sanity is inversely proportional to the number of exclamation marks they use" and people might judge you based on that.