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
Create React App
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
se_kamo
August 29, 2016
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Create React App
Grand Frontend Osaka での LT資料です。
se_kamo
August 29, 2016
Transcript
36 slides
Create React App Wakai Shinichiro @se_kamo
Wakai @se_kamo ؔϑϩϯτΤϯυUG GFO 2016 ౷ׅ ݉ ࣮ߦҕһ ަϲݪ ຊҨ࢈ϓϩδΣΫτ
ٕज़෦ גࣜձࣾάϥουΩϡʔϒ ΤϯδχΞ
React Λ͍͍ͨʂ
ͨͩɺڥ͕͑Εͣɺ அ೦ɻɻ
͙͢ʹίʔυΛॻ͖͍ͨʂ
Create React App
ReactͷڥΛ 1ͰߏஙͰ͖Δπʔϧ
7݄ʹFacebook͕ެ։ ES6JSXʹରԠ
ߏஙͯ͠Έ·͠ΐ͏
npm Πϯετʔϧ
npm install -g create-react-app
None
ίϚϯυͨͨ͘
create-react-app <σΟϨΫτϦ໊>
None
ڥʂʂʂ
ReactΞϓϦΛ্ཱͪ͛Δ
npm start
None
্ཱ͕ͪͬͨ
ެ։ϑΝΠϧͷ ग़ྗ؆୯
npm run build
None
build ͷԼʹ ެ։ϑΝΠϧΛग़ྗʂ
ͳͥ͜Μͳ͜ͱ͕Ͱ͖Δͷ͔ʁ
Create React App Ͱ ΘΕ͍ͯΔٕज़
• webpack • webpack-dev-server • style-loader • Babel • Autoprefixer
• ESLint
webpack • ࠷దͳܗʹ࡞Γม͑ΔҝͷπʔϧʢϏϧυπʔ ϧʣ • JadeCoffeeScriptΛίϯύΠϧ, ϑΝΠϧͷ minifyͯ͘͠ΕΔ • Create
React App ͰES2016JSXͷτϥϯ εύΠϧΛͯ͘͠Ε͍ͯΔ
webpack-dev-server • ϩʔΧϧαʔόʔΛىಈͯ͘͠ΕΔ • ϑΝΠϧΛมߋͨ͠ࡍݕͯ͠ɺϒϥβ ΛࣗಈతʹϦϩʔυͯ͠Δ
style-loader • JavascriptͷίʔυதͰstylesheetΛrequireग़ དྷΔΑ͏ʹ͢Δπʔϧ • ෦ཁૉʹඞཁͳελΠϧΛɺඞཁͳ͚࣌ͩ ద༻͢Δ͜ͱ͕Ͱ͖Δ • ϦΫΤετΛݮΒ͢͜ͱ͕Ͱ͖Δ
Babel • ES6ES7, JSXΛτϥϯεύΠϧ͢Δπʔϧ • Ұ෦ͷϒϥβ͕ES5·Ͱ͔͠ରԠͯ͠ͳ͍ͷ Ͱɺ։ൃ͞Εͨͷ͕Babel
ESLint • ߏจʹϛε͕ͳ͍͔ΛνΣοΫͯ͘͠ΕΔ੩ తݕূπʔϧ • ؆୯ʹߏจνΣοΫΛΧελϚΠζͰ͖Δ • ES6, ES7, JSXͷه๏Λαϙʔτ͍ͯ͠Δ
·ͱΊ ؆୯ʹͰ͖ΔΑʂ
ಓ۩ἧ͍·ͨ͠
ޙั·͑Δ͚ͩͰ͢Ͷ
͝੩ௌ͍͖ͨͩɺ ͋Γ͕ͱ͏͍͟͝·͢ɻ
More Decks by se_kamo
See All by se_kamo
Grand Frontend Osaka 2016 オープニングトーク 資料
wakaishinichiro
0
120
Other Decks in Technology
See All in Technology
長い仕事を任せる (Workflows、クラウドセッション、Kiro Web) | 目指せ Kiro マスター 10
inariku
PRO
3
180
Context != Context: One window, many lifecycles (AI Native DevCon, Nov 2026)
birgitta410
0
120
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
280
20261113_JAWS_Osaka
takuyay0ne
0
230
cdkd (CDK Direct)
gotok365
4
300
81天的 AI Agent 軟體開發團隊治理實務分享
regionbbs
0
160
evcc & Home Assistant
naltatis
0
650
GCASアップデート(202607-202610)
techniczna
1
320
内製アプリとClaudeスキルのセキュリティチェック、 Backlogの課題で回しています。
ayaka_egaaa
0
180
MCPでAIが自分で調べに行く
cdataj
0
170
JAWSコミュニティに 参加して1年経った結果
ssakita
0
130
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
400
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
22k
Test your architecture with Archunit
thirion
2
2.5k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
570
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Abbi's Birthday
coloredviolet
5
11k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690
A Soul's Torment
seathinner
9
3.9k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k