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

A comparison with Redux

If we were to talk about state management in React and we didn't mention Redux, it would be a complete remiss. Redux is an extremely popular state management library and its popularity stems from the fact that it simplified the original Flux architecture that was proposed by Facebook. It got rid of certain actors in Flux, such as dispatchers, which resulted in combining all the stores into one, commonly referred to as the single state tree.

In this section,  we will do a head-on comparison with another state management library called   Redux. If you have not used Redux before, you can certainly skip this section and move on to this chapter's summary.

MobX has some conceptual similarities with Redux as far as the data flow is concerned, but that is also where the similarities end. The mechanism adopted by MobX is drastically different than the one taken by Redux. Let's have a brief overview of Redux before we get into a slightly deeper-level comparison.

主站蜘蛛池模板: 怀集县| 台南市| 云南省| 社旗县| 安达市| 海兴县| 华池县| 江川县| 新巴尔虎左旗| 博兴县| 常州市| 明星| 邵阳市| 辽宁省| 建水县| 岳西县| 囊谦县| 阿拉善盟| 英吉沙县| 望江县| 南丹县| 宁蒗| 丹阳市| 嘉善县| 京山县| 长泰县| 全州县| 泾川县| 抚宁县| 绥中县| 嘉善县| 阿鲁科尔沁旗| 锦屏县| 徐水县| 曲周县| 子长县| 高州市| 鄄城县| 白玉县| 广丰县| 高邮市|