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

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.

主站蜘蛛池模板: 弥渡县| 大理市| 武安市| 盐边县| 金乡县| 嘉禾县| 临澧县| 邵东县| 类乌齐县| 陕西省| 施甸县| 辽阳县| 广灵县| 祁连县| 平和县| 博湖县| 卓尼县| 城口县| 闵行区| 凤凰县| 阜平县| 博客| 浙江省| 周口市| 璧山县| 湘潭市| 涟源市| 朝阳县| 罗源县| 政和县| 乌兰察布市| 常州市| 克拉玛依市| 玉田县| 阿尔山市| 治县。| 霍州市| 镇坪县| 司法| 五大连池市| 泾川县|