- Flux Architecture
- Adam Boduch
- 202字
- 2021-07-16 10:49:03
Summary
This chapter introduced you to the driving principles of Flux. These should be in the back your mind as you work on any Flux architecture. We started the chapter off with a brief retrospective of MV* style architectures that permeate frontend development. Some challenges with this style of architecture include cascading model updates and a lack of data-flow direction. We then looked at the prize concept of Flux—unidirectional data-flow.
Next, we covered how Flux favors explicit actions over implicit abstractions. This makes things easier to comprehend when reading Flux code, because we don't have to go digging around for the root cause of a state change. We also looked at how Flux utilizes architectural layers to visualize how data-flows in one direction through the system.
Finally, we compared application data with state that's generally considered specific to UI elements. Flux stores tend to focus on state that's relevant to the feature it supports, and doesn't distinguish between application data and UI state. Now that we have a handle on the principles that drive Flux architectures, it's time for us to code one. In the next chapter, we'll implement our skeleton Flux architecture, allowing us to focus on information design.
- Unity Virtual Reality Projects
- Wireshark Network Security
- PHP網(wǎng)絡(luò)編程學(xué)習(xí)筆記
- Spring Boot企業(yè)級項目開發(fā)實戰(zhàn)
- Visual C#.NET程序設(shè)計
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學(xué)版)
- 機器學(xué)習(xí)與R語言實戰(zhàn)
- 從零開始學(xué)C語言
- 常用工具軟件立體化教程(微課版)
- Java網(wǎng)絡(luò)編程實戰(zhàn)
- 軟件測試分析與實踐
- Python網(wǎng)絡(luò)爬蟲實例教程(視頻講解版)
- H5+移動營銷設(shè)計寶典
- 虛擬現(xiàn)實建模與編程(SketchUp+OSG開發(fā)技術(shù))
- Learning NHibernate 4