I feel the problem is that initially Redux was very confusing, and some people were such purists that they argued about decoupling everything from Redux and reassigning the entire application to every change. And then we ended up with this creator answer , which actually only added confusion because redux was and remains the de facto standard for new responsive applications, and many tutorials suggest this.
So, I feel that people are pressured on each side, and often they do some things without really understanding why they should (especially newbies creating constants, actions, and reducers). So, for those who read this, please start without abbreviation, and keep it only in the local state (but try to keep it in some component, like a DataContainer ). For those who need shrinking, the rule of thumb is all asynchronous data (so all requests go through shrinking) and the data needed for independent components. If the components are obviously located nearby, keep them local and pass them as a props.
Redux is a very useful library, but you need to use it only after you start to have at least several routes, various query options and some complicated interface. Prior to this, there is a good chance that you recycle (but, of course, if you are sure that you will exceed this size, do not hesitate to start with Redux). And again, you literally never want to put your slider or small drop-down position in the repository - the reaction state is ideal for it.
Bloomca
source share