DEV Community

Discussion on: Global state management with react hooks and context

Collapse
 
vanderleisilva profile image
Vanderlei Alves da Silva

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 ..