Redux - 401-advanced-javascript-jv/seattle-javascript-401d30 GitHub Wiki

Redux is a state manager for JavaScript. That means it manages your state in a particular way so that you can have a consistent means of working with it at all points in your application.

Redux has a Store, which holds your state, and which also holds the Reducers.

Reducers are functions whose purpose is to take in current state and an Action, and return the new state.

Actions are objects with a type and payload property. Type is the name which your action will use to decide what to do. Payload is anything the reducer needs to do its job. If the reducer requires a passed-in function to do its job, that function can be passed in via the payload. If the reducer needs just information, the payload can include that as well.