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

Observables, Actions, and Reactions

Describing the structure of the client state is the first step in UI development. With MobX, you do this by creating your tree of observables. As the user interacts with the app, actions are invoked on your observable state, which in turn can cause reactions (aka side-effects). Continuing from Chapter 1Introduction to State Management, we will now take a deeper look at the core concepts of MobX.

The topics covered in this chapter include:

  • Creating the various kinds of observables
  • Setting up the actions that mutate the observables
  • Using reactions to handle external changes
主站蜘蛛池模板: 治多县| 长治市| 炉霍县| 青阳县| 寻甸| 锦州市| 太康县| 临高县| 祁阳县| 徐水县| 彭山县| 黔江区| 彭水| 武乡县| 天等县| 太康县| 普兰店市| 东方市| 临汾市| 垫江县| 北票市| 明光市| 宣汉县| 晋州市| 鸡东县| 阳山县| 南和县| 五常市| 巴楚县| 如皋市| 凤凰县| 宁晋县| 页游| 庆城县| 长汀县| 莱西市| 马尔康县| 万年县| 宁陵县| 萨迦县| 阆中市|