I wonder if there's any established pattern of having a reducer that can be re-used in different branches of the same global Redux state?
Typical example would be pagination. Every table grid has same params, like: data
, pageNumber
, pageSize
, sortBy
, sortOrder
, filters
, etc. It doesn't make sense to have a separate reducer (and set of corresponding actions as well) for every page that has grid in it. There should be a way to have just one and be able to re-use it wherever required.