commit
e556b57688
12
redux.md
12
redux.md
|
@ -2,7 +2,7 @@
|
||||||
title: Redux
|
title: Redux
|
||||||
category: React
|
category: React
|
||||||
layout: 2017/sheet
|
layout: 2017/sheet
|
||||||
updated: 2017-08-30
|
updated: 2018-01-17
|
||||||
weight: -3
|
weight: -3
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -137,6 +137,16 @@ export default connect(
|
||||||
|
|
||||||
Same as above, but shorter.
|
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
|
## Middleware
|
||||||
|
|
||||||
### Signature
|
### Signature
|
||||||
|
|
Loading…
Reference in New Issue