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

# reducer

Get the redux-reducer for integration with the store. Variable, not a function.

```javascript
// Example:

// In the file where the wrapper is defined:
// ...
export const reducer = exampleWrapper.reducer;

//... then in your reducer-collection ...
import { reducer as example } from "./Example";
export default combineReducers({ example });

//... and finally in the store:
import globalReducers from "./global-reducer-collection";
const createStoreWithMiddleware = compose(applyMiddleware(logger, sagaMiddleware))(createStore);
const store = createStoreWithMiddleware(globalReducers, {});
```
