Tree Mirroring
Learn about tree mirroring in redux.
This brings us to the conclusion that we want to structure our reducers
tree to mimic the application state tree
.
As a rule of thumb, we will want to have a
reducer
for each leaf of the tree. Mimicking this structure in the reducer’s directory will make it automatically display the structure of the state tree.
Get hands-on with 1400+ tech skills courses.