https://facebook.github.io/flux/html
Flux is the application architecture that Facebook uses for building client-side web applications.git
It complements React's composable view components by utilizing a unidirectional data flow.github
It's more of a pattern rather than a formal framework, and you can start using Flux immediately without a lot of new code.web
https://github.com/facebook/flux/tree/5dc1dd79c76e57b76bed0f764b5937c52205ca3e/examples/flux-concepts架構
flux-concepts
These are the important high-level concepts and principles you should know about when writing applications that use Flux.mvc
Overview
Flux is a pattern for managing data flow in your application. The most important concept is that data flows in one direction. As we go through this guide we'll talk about the different pieces of a Flux application and show how they form unidirectional cycles that data can flow through.app
http://www.ruanyifeng.com/blog/2016/01/flux.htmlide
簡單說,Flux 是一種架構思想,專門解決軟件的結構問題。它跟MVC 架構是同一類東西,可是更加簡單和清晰。ui
Flux存在多種實現(至少15種),本文采用的是Facebook官方實現。this
具體使用方法也見阮大文章,代碼和文字都形象好理解。
https://www.merriam-webster.com/dictionary/flux
Definition of flux
(Entry 1 of 2)
2 : a continuous moving on or passing by (as of a stream)3 : a continued flow : flood a flux of words4a : influxb : change, fluctuation in a state of flux the flux following the death of the emperor5 : a substance used to promote fusion (as of metals or minerals) especially : one (such as rosin) applied to surfaces to be joined by soldering, brazing, or welding to clean and free them from oxide and promote their union6 : the rate of transfer of fluid, particles, or energy across a given surface
http://www.ichacha.net/flux.html
n.
1.流,流出;流動。
2.漲潮。
3.不斷的變更,波動。
4.【物理學】流量,通量,電通量,磁通量。
5.熔解,熔融;助熔劑;焊劑。
6.【醫學】異常溢出;腹瀉。短語和例子
vt.
1.熔化,使熔解。
2.用助熔劑處理。
vi.
1.(潮)漲;流出。
2.熔化。
https://en.wikipedia.org/wiki/Flux
維基百科上,說flux是研究物質經過平面的方向和大小的, 歸根結底是研究是流體的在某個時刻某個位置狀態的術語。
Flux describes any effect that appears to pass or travel (whether it actually moves or not) through a surface or substance. A flux is either a concept based in physics or used with applied mathematics. Both concepts have mathematical rigor, enabling comparison of the underlying mathematics
應用到電磁場領域:
flux相似正負極電子的磁場形狀, 從正電荷不斷髮出磁力線,散射,最終匯聚到負電荷。
中間的一道直線,咱們和能夠類比於View
正電荷爲 dispatcher, 全部的action今後處發出, 發射到若干磁力線(store),在view層獲得體現磁力的狀態(state)。
https://cn.bing.com/images/search?q=Electric+Field&FORM=IRBPRS&=0
flux三元素對應圖: