> For the complete documentation index, see [llms.txt](https://brigad.gitbook.io/redux-rest-easy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brigad.gitbook.io/redux-rest-easy/docs/api/reducer.md).

# 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.

```javascript
import { reducer } from '@brigad/redux-rest-easy';

const reducers = combineReducers({
  restEasy: reducer,
});
```

An overview of what the state will look like can be found in the [reducers documentation](/redux-rest-easy/docs/api/reducer-1/reducers.md).
