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

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

主站蜘蛛池模板: 三门峡市| 体育| 六盘水市| 绵竹市| 蒙自县| 宜丰县| 辰溪县| 平江县| 河南省| 松滋市| 岳西县| 九江市| 安新县| 怀仁县| 裕民县| 大足县| 西华县| 曲阳县| 万宁市| 奉新县| 孟津县| 宝坻区| 宝丰县| 志丹县| 宿迁市| 灌阳县| 深水埗区| 泽普县| 邳州市| 内丘县| 潮州市| 崇州市| 海南省| 久治县| 屯门区| 于都县| 洪雅县| 安宁市| 祁阳县| 利川市| 江陵县|