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

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
主站蜘蛛池模板: 漳州市| 吉安市| 德格县| 江华| 韶关市| 毕节市| 祁门县| 锡林浩特市| 沈阳市| 固原市| 雷山县| 莱州市| 河东区| 洛扎县| 高青县| 保山市| 铁岭市| 连平县| 建平县| 襄垣县| 湘阴县| 东丽区| 呼伦贝尔市| 普格县| 崇信县| 锡林浩特市| 淮南市| 罗甸县| 普定县| 邻水| 台湾省| 辽宁省| 鄂伦春自治旗| 莱阳市| 和硕县| 固安县| 阿拉善盟| 浦江县| 麻城市| 登封市| 新昌县|