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

  • MobX Quick Start Guide
  • Pavan Podila Michel Weststrate
  • 171字
  • 2021-08-05 10:34:22

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.

主站蜘蛛池模板: 兴隆县| 河北省| 青岛市| 瑞安市| 和硕县| 湘潭县| 沁水县| 清远市| 文水县| 闽清县| 汕头市| 五峰| 鄂托克前旗| 右玉县| 德保县| 永胜县| 锦屏县| 宜良县| 吉木萨尔县| 罗源县| 凉城县| 探索| 昌宁县| 武宣县| 万源市| 旬邑县| 镇远县| 台北市| 玛纳斯县| 体育| 巫溪县| 寻乌县| 乌审旗| 姚安县| 平度市| 右玉县| 福泉市| 常熟市| 诸城市| 礼泉县| 滁州市|