From ea7ab5e2dcc720a0d50b3ac20c924db6e80c2fad Mon Sep 17 00:00:00 2001 From: Vishesh Date: Wed, 31 Oct 2018 19:07:43 -0400 Subject: [PATCH] Info. about reducers (#20642) --- guide/english/redux/reducers/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/english/redux/reducers/index.md b/guide/english/redux/reducers/index.md index 55405aa05a..083a58af83 100644 --- a/guide/english/redux/reducers/index.md +++ b/guide/english/redux/reducers/index.md @@ -5,6 +5,10 @@ title: Reducers 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.1 +In a simple sense, reducers are gatekeepers of the redux central store. +- Components subscribe to the central data store which gets passed via props +- In order to make changes to the data store, components dispatch actions (along with optional payload) +- These actions gets passed onto reducers which then update the redux data store ### Sources 1. http://redux.js.org/docs/basics/Reducers.html