- 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.
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- 機器學習系統:設計和實現
- Java 9 Concurrency Cookbook(Second Edition)
- R語言經典實例(原書第2版)
- Java EE 6 企業級應用開發教程
- C++ Builder 6.0下OpenGL編程技術
- Building a Quadcopter with Arduino
- Apache Mesos Essentials
- 小程序開發原理與實戰
- INSTANT Passbook App Development for iOS How-to
- Nginx Lua開發實戰
- Spring Boot+MVC實戰指南
- Mastering Concurrency in Python
- Serverless工程實踐:從入門到進階
- Java程序設計(項目教學版)