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

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
主站蜘蛛池模板: 临夏县| 巴南区| 句容市| 韶关市| 宝山区| 甘德县| 富裕县| 华阴市| 利川市| 伊春市| 巴中市| 石城县| 涞源县| 浦东新区| 古浪县| 屏南县| 天津市| 峡江县| 蓝田县| 固安县| 霞浦县| 炎陵县| 阿坝县| 阿图什市| 江源县| 佛冈县| 丹江口市| 汝城县| 太保市| 台湾省| 德令哈市| 东乡族自治县| 兴国县| 普兰店市| 潍坊市| 兴山县| 中牟县| 龙口市| 巴彦淖尔市| 太仆寺旗| 营山县|