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

Chapter 2. Principles of Flux

In the previous chapter, you were introduced at a 10,000 foot level to some of the core Flux principles. For example, unidirectional data-flow is central to Flux's existence. The aim of this chapter is to go beyond the simplistic view of Flux principles.

We'll kick things off with a bit of an MVC retrospective—to identify where it falls apart when we're trying to scale a frontend architecture. Following this, we'll take a deeper look at at unidirectional data-flow and how it solves some of the scaling issues we've identified in MVC architectures.

Next, we'll address some high-level compositional issues faced by Flux architectures, such as making everything explicit and favoring layers over deep hierarchies. Finally, we'll compare the various kinds of state found in a Flux architecture and introduce the concept of an update round.

主站蜘蛛池模板: 承德县| 公主岭市| 锡林浩特市| 石楼县| 湛江市| 云安县| 邛崃市| 麻城市| 西林县| 鹿邑县| 麻城市| 安溪县| 嘉定区| 嘉荫县| 呈贡县| 西华县| 社会| 安龙县| 双牌县| 长汀县| 清涧县| 屯昌县| 靖远县| 东辽县| 绥德县| 德兴市| 康马县| 乌兰浩特市| 尉犁县| 松桃| 衡东县| 安康市| 迁安市| 横峰县| 玉林市| 宝坻区| 厦门市| 镇康县| 南平市| 乐清市| 武平县|