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

Introduction to State Management

The heart of your React app lives in the client state (data) and is rendered via React components. Managing this state can become tricky as you tackle user interactions (UI), perform async operations, and handle domain logic. In this chapter, we will start with a conceptual model of state management in UI, the role of side effects, and the flow of data.

Then, we will take a quick tour of MobX and introduce its core concepts. These concepts will help in drawing some comparisons with Redux. You will see that MobX turns out to be a more declarative form of Redux!

The topics covered in this chapter are as follows:

  • What is the client state?
  • The side effect model
  • A speed tour of MobX

主站蜘蛛池模板: 吐鲁番市| 焦作市| 尚志市| 长阳| 葫芦岛市| 渝北区| 陵水| 漳州市| 夹江县| 楚雄市| 天峻县| 通河县| 徐汇区| 通榆县| 南城县| 泗洪县| 曲靖市| 凌云县| 佛冈县| 临澧县| 惠州市| 郓城县| 商河县| 丰镇市| 班戈县| 惠安县| 昌图县| 横山县| 渝中区| 德安县| 明溪县| 龙陵县| 厦门市| 类乌齐县| 巴塘县| 台前县| 奎屯市| 芜湖县| 衡水市| 乐昌市| 武安市|