commit
e556b57688
12
redux.md
12
redux.md
|
@ -2,7 +2,7 @@
|
|||
title: Redux
|
||||
category: React
|
||||
layout: 2017/sheet
|
||||
updated: 2017-08-30
|
||||
updated: 2018-01-17
|
||||
weight: -3
|
||||
---
|
||||
|
||||
|
@ -137,6 +137,16 @@ export default connect(
|
|||
|
||||
Same as above, but shorter.
|
||||
|
||||
### Combining reducers
|
||||
|
||||
```js
|
||||
const reducer = combineReducers({
|
||||
counter, user, store
|
||||
})
|
||||
```
|
||||
|
||||
Combines multiple reducers into one reducer function. See: [combineReducers](https://redux.js.org/docs/api/combineReducers.html) _(redux.js.org)_
|
||||
|
||||
## Middleware
|
||||
|
||||
### Signature
|
||||
|
|
Loading…
Reference in New Issue