Comment on page
reducer
Unlike conventional Redux state management,
redux-rest-easy
only needs one reducer. It will be generated and managed automatically. All you need to do is to import it under the name restEasy
. This name is mandatory, and selectors won't work if you change it.import { reducer } from '@brigad/redux-rest-easy';
const reducers = combineReducers({
restEasy: reducer,
});
Last modified 5yr ago