Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ Custom hook to combine all useReducer hooks for one global state container with

## Installation

`npm install use-combined-reducers`
```bash
$ npm install use-combined-reducers
```

## Usage

```
```js
import useCombinedReducers from 'use-combined-reducers';

const App = () => {
Expand All @@ -25,7 +27,7 @@ const App = () => {

const { myTodos, myOtherStuff } = state;

...
// ...
}
```

Expand Down