Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Flux+ReactJS Development
Search
Laura Lee
October 19, 2015
Technology
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Flux+ReactJS Development
讓網⾴頁變成畫布
Flux架構+ReactJS開發實作
201510
Laura Lee
October 19, 2015
More Decks by Laura Lee
See All by Laura Lee
Front-end Project Development -- from install, development to production
l443018
0
51
Frontend Resource Intergration and Sharing
l443018
1
53
GSS Frontend Project Management
l443018
2
140
JSDC 2015 Generation of Frontend
l443018
1
130
Other Decks in Technology
See All in Technology
RelayerというPHPのフレームワークを作った
polidog
PRO
0
120
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
200
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
Model Studio CLI × Token Plan
maigo999
0
210
AIに持続⼒を与える 判断の⻑期記憶設計
eiei114
1
640
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
490
AI・HPC開発を支えるGPU環境の新しい選択肢 液冷GPUシステム「AquSys」の取り組み
gpuunite_official
0
220
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
2
470
【Aiming】共通基盤なのに「共通化しない」課金・認証基盤「LINK」が選び取ったシングルテナント戦略と運用の秘訣
saikeda
0
140
AI時代に、人は何を、どう学ぶのか #pbl_pub / What and How Do We Learn in the AI Era?
takaking22
1
240
自宅NWにISR4331を導入してみた話
okaits
0
120
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
220
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
470
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
For a Future-Friendly Web
brad_frost
183
10k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
520
Fireside Chat
paigeccino
42
4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
So, you think you're a good person
axbom
PRO
2
2.1k
Transcript
讓網⾴頁變成畫布 Flux架構+ReactJS開發實作 Laura Lee CSBU . FED
⼤大綱 ⾃自我介紹 ⼯工作⼼心得分享 ReactJS開發⼼心得分享
Laura Lee 畢業於清⼤大資⼯工系 興趣是⼈人機互動網⾴頁開發 ⾃自我介紹
⼩小學三年級 第⼀一次寫網⾴頁
⼩小學四年級 做了⼈人⽣生中第⼀一個個⼈人網站
None
None
這是⼀一個... 流⾏行烘焙雞(FrontPage)⾴頁框 和網⾴頁素材的時代
None
None
上了⼤大學才知道 html, css, JavaScript 是⼀一種叫做”程式語⾔言”的東⻄西
None
之後因為⼀一些緣份 我幸運的來到了叡揚 開始前端設計師的奇幻旅程
學習sass語法 農委會專案成果 撰寫README, Change Log ⼯工作⼼心得分享
basic.scss … _mixin.scss basic.css SASS Compiler SASS讓CSS變得⽅方便管理!
scss/ basic.scss _block.scss _col.scss _main.scs _mixin.scss _mod.scss _utility.scss … scss/
basic.scss core/ _variable.scss _main.scss … module/ _col.scss … pages/ map.scss … 整理農委會專案架構
None
None
None
撰寫讀我⽂文件, Change Log
ReactJS開發⼼心得分享 React簡介 Flux架構 VS MVC架構 React + Flux開發實作
Facebook開發的JavaScript Library ⽤用於設計網⾴頁介⾯面 What’s React
即時反應 重複使⽤用 效能強⼤大 Why React
即時反應 this.setState()
CommentBox CommentList Comment CommentForm 重複使⽤用 React.creatClass()
效能強⼤大 Virtual Dom 資料來源: React vs AngularJS vs KnockoutJS: a
Performance Comparison by Chris Harrington 2015/01/13
效能強⼤大 Virtual Dom 資料來源
效能強⼤大 Virtual Dom
傳統HTML + JS + CSS VS React + CSS 同時控制
UI 和 Function 元件個別分開設計 可重複使⽤用 彈性增減 JS 和 UI 分開 不易管理 html code要⼀一再複製
傳統HTML + JS + CSS VS React + CSS
None
Flux VS MVC 只多了Dispatcher?
Flux MVC 多對多互動 不容易追蹤資料流 難Debug view階層不明確 Action以API的⽅方式運作 ⼀一對多/多對⼀一 單向資料流 容易追朔bug位置
React + Flux Flux 為了 React 開發環境打造 發揮了 React ⽗父⼦子階層的好處
當 Store 改變 會觸發 Top-level View 由上⽽而下檢查更新
CommentBox CommentList Comment CommentForm Store
React + Flux 飯糰樹 實作
Action <Tick> <CreateChild> <CreateSibling> View <TreeApp> Store <CounterStore> Dispatcher Store
<TreeStore> View <CounterApp>
和後端如何銜接?
Thanks for listening
Q & A