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

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.

主站蜘蛛池模板: 昆明市| 静乐县| 江油市| 沾益县| 寿光市| 宣武区| 电白县| 盱眙县| 普格县| 邮箱| 四平市| 平昌县| 潼关县| 保德县| 恩施市| 湟源县| 武义县| 马公市| 内丘县| 晋州市| 灌云县| 新蔡县| 枝江市| 湖南省| 颍上县| 临桂县| 南岸区| 那曲县| 渝中区| 金阳县| 分宜县| 建德市| 新巴尔虎左旗| 湘潭县| 忻州市| 天峻县| 红安县| 平塘县| 屏南县| 昌黎县| 乐昌市|