Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 792 Bytes

redux.md

File metadata and controls

13 lines (10 loc) · 792 Bytes

Redux

The three principles of Redux

  1. There is a single source of truth. The state of your whole application is stored in an object tree within a single store.
  2. State is read-only. The only way to mutate the state is to emit an action, an object describing what happened.
  3. Changes are made with pure functions. To specify how the state tree is transformed by actions, you write pure reducers.

References

Redux on GitHub with comprehensive documentation Getting Started with Redux tutorial by Dan Abramov (videos) Full-Stack Redux Tutorial Why use Redux over Facebook Flux?