- 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.
- Advanced Quantitative Finance with C++
- 觸·心:DT時代的大數(shù)據(jù)精準(zhǔn)營銷
- Beginning C++ Game Programming
- Java高并發(fā)核心編程(卷2):多線程、鎖、JMM、JUC、高并發(fā)設(shè)計模式
- Java入門很輕松(微課超值版)
- Servlet/JSP深入詳解
- 自然語言處理Python進階
- AppInventor實踐教程:Android智能應(yīng)用開發(fā)前傳
- Learning R for Geospatial Analysis
- Instant Lucene.NET
- Visual Basic程序設(shè)計(第三版)
- 并行編程方法與優(yōu)化實踐
- Learning D
- Python預(yù)測分析實戰(zhàn)
- Java并發(fā)實現(xiàn)原理:JDK源碼剖析