So as it stands all reducers related to all rows are pulled in and 'switched' based on a props type. This will cause n*n hooking up to the reducer and dynamic recomputing of all CardRows anytime any one of them changes.
We want to associate each CardRow with its appropriate reducer only, such that only it will recompute when its specific reducer is updated, and no other.
So as it stands all reducers related to all rows are pulled in and 'switched' based on a props type. This will cause n*n hooking up to the reducer and dynamic recomputing of all CardRows anytime any one of them changes.
We want to associate each CardRow with its appropriate reducer only, such that only it will recompute when its specific reducer is updated, and no other.