Skip to content

Commit

Permalink
docs: Clarify meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir committed Aug 17, 2017
1 parent acbfffb commit ced03e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# combine-reducers-global-state

A substitute for the default **combineReducers** function that comes with **redux**, aiming to solve the problem of cross-state access in local slice reducers. It passes `globalState` as the third argument to reducers, making it available along with the local state slice.
A substitute for the default **combineReducers** function that comes with **redux**, aiming to solve the problem of cross-state access in local slice reducers. This **combineReducers** implementation passes `globalState` as the third argument to reducers, making it available along with the local state slice.

`globalState` here is the whole top-level state returned from `store.getState()` before it is sliced inside the `combineReducer`.

## Usage
Expand Down

0 comments on commit ced03e3

Please sign in to comment.