So it appears that while reducer functions are technically separated in different files, they actually combine into one huge reducer. Is this correct? That would seem to make difficult the tracking of different reducers, in libraries like reinspect which makes reducers visible and named in redux devtools. I don't know about anyone else, but that is a powerfully useful tool once an application starts growing.
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 ..
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
So it appears that while reducer functions are technically separated in different files, they actually combine into one huge reducer. Is this correct? That would seem to make difficult the tracking of different reducers, in libraries like
reinspect
which makes reducers visible and named in redux devtools. I don't know about anyone else, but that is a powerfully useful tool once an application starts growing.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 ..