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

11 lines
306 B
Markdown

---
title: Reducers
---
### What are the reducers in Redux?
Reducers are the pure functions that take an action and an previous state and return new state. Given the same input, the reducer should always return the same output.<sup>1</sup>
### Sources
1. http://redux.js.org/docs/basics/Reducers.html