resourceReducer
, is a function that returns a reducer. For each resource type in your application, you should use this function to create a reducer. A resource reducer will manage all of the state for its resource type.combineReducers
for this purpose. When you use combineReducers
, your store is divided up into slices, where each reducer that you input manages its own section of the state. These sections are often called "slices."resourceReducer
function takes a second option, which can be used to configure the resource reducer. Refer to the API documentation for resourceReducer
to learn more.Note: keep in mind that Redux Resource works with or withoutcombineReducers
.