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

11 lines
306 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
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