- MobX Quick Start Guide
- Pavan Podila Michel Weststrate
- 133字
- 2021-08-05 10:34:23
Observables
Data is the lifeblood of your UI. Going back to the equation that defines the relationship between data and UI, we know that the following is true:

So, it makes sense to focus on defining the structure of data that will drive the UI. In MobX, we do this with the observables. Take a look at this diagram:

Observables, as the name suggests, are entities that can be observed. They keep track of changes happening to their values and notify all the observers. This seemingly simple behavior has powerful implications when you start designing the structure of your client-state. In the preceding diagram, every circle represents an Observable, and every diamond is an Observer. An observer can observe one or more observables and get notified when any of them change value.
- Web安全防護(hù)指南:基礎(chǔ)篇
- RCNP實(shí)驗(yàn)指南:構(gòu)建高級(jí)的路由互聯(lián)網(wǎng)絡(luò)(BARI)
- TCP/IP入門(mén)經(jīng)典(第5版)
- OpenLayers Cookbook
- Web Application Development with R Using Shiny
- 物聯(lián)網(wǎng)概論(第2版)
- 網(wǎng)絡(luò)安全技術(shù)與解決方案(修訂版)
- 搶占下一個(gè)智能風(fēng)口:移動(dòng)物聯(lián)網(wǎng)
- Implementing NetScaler VPX?
- 物聯(lián)網(wǎng)的機(jī)遇與利用
- 5G非正交多址接入技術(shù):理論、算法與實(shí)現(xiàn)
- 深入理解計(jì)算機(jī)網(wǎng)絡(luò)
- 商業(yè)的本質(zhì)和互聯(lián)網(wǎng)
- Enterprise ApplicationDevelopment with Ext JSand Spring
- SD-WAN 架構(gòu)與技術(shù)