loading...

re: Global state management with react hooks and context VIEW POST

TOP OF THREAD FULL DISCUSSION
re: So it appears that while reducer functions are technically separated in different files, they actually combine into one huge reducer. Is this corre...
 

Hey Chad, thanks for the nice feedback, you're right, all reducer functions are combined in only one. In terms of getting difficult to be tracked by third party libraries, I may not get well your point, but I'd say that is the opposite, as we already have with libraries like redux and mobX, the centralised state makes easier for these libraries to track this info. I'd be way harder if this information were scattered among different functions .. Actually that's one of the main goals of the central stage management, to facilitate the state data administration .. :)

ps. sorry for the late answer, I was a bit busy these last months ..

code of conduct - report abuse