Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
gulp + React
Search
mex-ichikawa
September 25, 2014
Programming
440
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
gulp + React
Reactを含むWebプロジェクト制作環境を模索。
Project template link:
http://goo.gl/a5FsNW
mex-ichikawa
September 25, 2014
More Decks by mex-ichikawa
See All by mex-ichikawa
Three.js vs Unity5
mex_ichikawa
0
65
WebAudioAPIで(目的の)SE作れなかった話
mex_ichikawa
0
42
Bower + WebComponents
mex_ichikawa
0
43
Blob URL Scheme
mex_ichikawa
0
590
Other Decks in Programming
See All in Programming
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
160
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
390
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
130
Family mrubyの進捗
kishima
1
130
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
190
スマート反転とウェブアクセシビリティ
camiha
0
210
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
160
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
130
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
160
setup-vp GitLab対応の裏側
naokihaba
0
120
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
300
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Odyssey Design
rkendrick25
PRO
2
810
Making the Leap to Tech Lead
cromwellryan
135
10k
First, design no harm
axbom
PRO
2
1.3k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
520
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Building the Perfect Custom Keyboard
takai
2
880
How to train your dragon (web standard)
notwaldorf
97
6.8k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
340
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
410
From π to Pie charts
rasagy
1
380
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
Transcript
gulp + React @mex-ichikawa Tsukiji.front - 2014/09/25
Reactを使うための環境構築の話
What’s React? • MVCモデルにおけるViewとして利用できるWebUIライブラリ • polymer のような WebComponents 支援ライブラリではない •
facebook/instagram サイト内で実際に利用されている • 2013年に facebook が OSS として公開
Why React? • 他の技術に依存しないシンプルなViewエンジン • 仮想DOMを利用しnode.jsでレンダリングできる • コンパイルが必要なJSXというxml埋め込みオプションがある • ある程度自動化が必要な構成
React Demo 基本的な使い方
React Demo JSXの静的コンパイル npm install -g react-tools jsx src/ build/
Automation
React Demo gulp + React gulp-react
React Demo gulp + React + CoffeeScript gulp-cjsx
Project Template http://goo.gl/a5FsNW
And more... • renderComponentToString でコンポーネントを静的生成 • react component database -
http://react-components.com/
Thank you.