官术网_书友最值得收藏!

Fundamental principles of Redux

Redux makes it possible to store all statuses in an application in a single place, which is called a store. A store is the intermediary to all of the changes of the status of the app. Using Redux, a component cannot communicate directly with another component; instead, the changes always go through a single source, which is an action. Redux can be described simply by three fundamental principles. Those three main principles, which will be briefly explained in this chapter, are summarized as follows:

  • A single source of truth
  • The read-only nature of the state
  • The reducer principle
主站蜘蛛池模板: 泉州市| 深州市| 无棣县| 秦皇岛市| 大邑县| 醴陵市| 松原市| 岗巴县| 邓州市| 安义县| 襄樊市| 图片| 镇安县| 砀山县| 翁源县| 静乐县| 邛崃市| 邯郸市| 法库县| 雅安市| 天峨县| 锦州市| 黑龙江省| 凤冈县| 万荣县| 如东县| 石首市| 涿州市| 弋阳县| 类乌齐县| 博乐市| 阜新市| 汤原县| 普兰店市| 永仁县| 德阳市| 新郑市| 白玉县| 兴安县| 卢氏县| 林州市|