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
150
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
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
go-sqletch
moznion
0
140
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1.1k
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
140
Browser Spec: Testing Hotwire with Ruby
takahashim
1
120
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
340
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
130
Kiro Crewをはじめよう
kizawa2020
1
160
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
770
大型犬好きによるPugの紹介
yamanoku
1
160
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
150
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
440
Refining Active Record
shugo
0
150
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Docker and Python
trallard
47
4.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Being A Developer After 40
akosma
92
590k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
RailsConf 2023
tenderlove
30
1.6k
Unsuck your backbone
ammeep
672
58k
Transcript
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ͷه๏Λαϙʔτ͍ͯ͠Δ
·ͱΊ ؆୯ʹͰ͖ΔΑʂ
ಓ۩ἧ͍·ͨ͠
ޙั·͑Δ͚ͩͰ͢Ͷ
͝੩ௌ͍͖ͨͩɺ ͋Γ͕ͱ͏͍͟͝·͢ɻ