Skip to content

Class 31 Application State

Erin Trainor edited this page May 1, 2019 · 1 revision

Resource - Understanding Redux: The World’s Easiest Guide to Beginning Redux

Redux

Helps you write applications that behave consistently

The first Redux principle:

Have a single source of truth: The state of your whole application is stored in an object tree within a single Redux store.

The second Redux principle:

State is read-only:

The only way to change the state is to emit an action, an object describing what happened.

The last Redux principle:

To specify how the state tree is transformed by actions, you write pure reducers.

Clone this wiki locally