freeCodeCamp/guide/chinese/redux/reducers/index.md

11 lines
282 B
Markdown
Raw Normal View History

---
title: Reducers
localeTitle: 减速
---
### Redux中的减速器有哪些
Reducers是执行动作和先前状态并返回新状态的纯函数。给定相同的输入reducer应始终返回相同的输出。 1
### 来源
1. http://redux.js.org/docs/basics/Reducers.html