You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In thinking about what reducers map to what values in state, right now your reducers very much have a 1 to 1 pattern of each reducer anticipating one action to be dispatched. However, consider how a given action could result in multiple values being updated in your store. For example, if you change the selected style, you should probably be updating both the selected image and the selected images at the same time. Think about whether you could refactor your reducers so that only a single action would be dispatched, but many reducers could consume it and update the store appropriately.
The text was updated successfully, but these errors were encountered:
FEC-CatWalk/project/src/reducers/currentImagesReducer.js
Line 3 in 5283dbc
In thinking about what reducers map to what values in state, right now your reducers very much have a 1 to 1 pattern of each reducer anticipating one action to be dispatched. However, consider how a given action could result in multiple values being updated in your store. For example, if you change the selected style, you should probably be updating both the selected image and the selected images at the same time. Think about whether you could refactor your reducers so that only a single action would be dispatched, but many reducers could consume it and update the store appropriately.
The text was updated successfully, but these errors were encountered: