Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
react overview
Search
yiminghe
January 27, 2015
Programming
1
140
react overview
yiminghe
January 27, 2015
Tweet
Share
More Decks by yiminghe
See All by yiminghe
小程序终端技术架构
yiminghe
0
240
支付宝小程序的开放架构
yiminghe
0
190
gitc2016 react based architecture
yiminghe
1
170
antd at qcon2016
yiminghe
1
230
react-based architecture
yiminghe
2
160
React Ecosystem At Ant Financial
yiminghe
4
2.3k
ant design preview
yiminghe
1
310
react best practice
yiminghe
3
220
react at alipay
yiminghe
43
4.4k
Other Decks in Programming
See All in Programming
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
110
ゆくKotlin くるRust
exoego
1
160
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
590
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.7k
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
290
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
170
Navigating Dependency Injection with Metro
l2hyunwoo
1
180
Implementation Patterns
denyspoltorak
0
110
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
420
マスタデータ問題、マイクロサービスでどう解くか
kts
0
120
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
160
SwiftUIで本格音ゲー実装してみた
hypebeans
0
490
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.2k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
72
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
90
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
65
Building an army of robots
kneath
306
46k
Statistics for Hackers
jakevdp
799
230k
Heart Work Chapter 1 - Part 1
lfama
PRO
3
35k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
27
Making Projects Easy
brettharned
120
6.5k
Designing for Performance
lara
610
69k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
140
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Transcript
React overview
[email protected]
• React • Flux • Ecosystem
• Prac:ce
React • Component • Virtual dom • Life
cycle • Server render
Component
Virtual dom
Dom diff
Virtual dom • Updates the dom as efficiently as possible
• Huge performance boost • Avoid thinking about managing the DOM
Lifecycle • Construc:on – getDefaultProps() – getIni:alState() – componentWillMount()
– render() – componentDidMount() – componentWillUnmount()
Lifecycle • Update status – componentWillReceiveProps() – shouldComponentUpdate() – componentWillUpdate()
– render() – componentDidUpdate()
flux • Single-‐direc:on data flow applica:on paRer – Ac:on
– Dispatcher – Store – View
dispatcher store view ac:on
None
principle • Unidirec:onal data flow • Composability •
Predictable reliable testable • Declara:ve
ecosystem • commonjs • npm • spm/browserify/webpack
教程 – npm based front-‐end development – 如何写一个 react 组件
– react 组件规范(编码,设计) – 如何移植传统组件(kissy)到 react
Our prac:ce • hRp://github.com/react-‐component/
React vs angular • Framework vs library – concepts
• Direc:ve vs component – Easy vs hard • Performance – Watch vs diff – String/dom template vs jsx/virtual • Server render – Client vs Isomorphic • BaRle tested – Google? vs Yahoo,facebook • Cross browser – pc vs pc/mobile