Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 696 Bytes

redux1.md

File metadata and controls

14 lines (9 loc) · 696 Bytes

Redux - Shortest introduction

  • Each React Component may (or not) has a state to render data. As our application grow, it will need to share data among each others. This leads to the need of a global state for all components.
  • Redux offers a way to create a global state and still keep that global state predictable.
  • More Redux motivation from its author here
  • What our app look like when use Redux:

redux-diagram <>

  • 3 basic concept of Redux: Action, Reducer, Store

Action

Index