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
叱られて覚えるES2015
Search
Sota Sugiura
July 02, 2016
Programming
1.7k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
叱られて覚えるES2015
YAP(achimon)C::Asia Hachioji 2016 LT 発表資料
Sota Sugiura
July 02, 2016
Transcript
40 slides
ࣤΒΕ֮ͯ͑Δ &4 !TPUB :"1 BDIJNPO $"TJB)BDIJPKJ-JHIUJOH5BML
ࣗݾհ w !TPUB w +4ྺ w ͖ͳݴ༿ɿ7 w ݏ͍ͳݴ༿ɿ*OUFSOFU&YQMPSFS
&4
&4 w ࡢϦϦʔε͞Εͨ&$."4DSJQUͷ৽͍͠όʔ δϣϯ w ʲॕʳ&4͜ͷલग़ͨΑ
&4ͱͷҧ͍ w લճόʔδϣϯ͔Βͷมߋ͕ΊͪΌͪ͘Όଟ͍ w ྆खͷࢦͰऩ·Βͳ͍ͷ৽ػߏ͕ʜ w ࠓ·ͰͭΒ͔ͬͨ+4ͷͷଟ͕͘ղܾ͞Εͨ
#VU ৽ػೳଟ͓͗͢΅͑ΒΕͳ͍ʜ Ňŏ﹏ŏ
/FXGFBUVSFT w DPOTUMFU w BSSPXGVODUJPO w PCKFDUMJUFSBM w DMBTTTZOUBY w
1SPYZ w 4ZNCPM w FYQPSUJNQPSU w TQSFBEPQFSBUPS w EFGBVMUQBSBNFUFS w BOENPSF ꒪⌓꒪
֮͑Δͷେมʜ
͜͏͍͏࣌Ͳ͏͖͚ͯͨͬ͠ʜ ɾТɾʆ
ࠓ·Ͱͷਓੜ w ॓
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w Ոࣄ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧˠࣤΒΕ͔ͯΒΔ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧˠࣤΒΕ͔ͯΒΔ w ࣄ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧˠࣤΒΕ͔ͯΒΔ w ࣄˠࣤΒΕ͔ͯΒຊؾͩ͢
ʮ͓ࣤΓʯͦ͜Ϟνϕʔγϣϯ w ਓࣤΒΕΔͱؤுΕΔ w զʑͷۀքͰ SZ
ٹੈओΛ୳͢ʜ +4จ๏Λࣤͬͯ͘ΕΔਓ͍ͳ͍ͩΖ͏͔
ٹੈओΛ୳͢ʜ +4จ๏Λࣤͬͯ͘ΕΔਓ͍ͳ͍ͩΖ͏͔
&4-JOU w +BWB4DSJQUͷจ๏νΣοΧʔ w ඇৗʹ๛ͳϧʔϧ͕༻ҙ͞ΕͯΔ w ଞͷਓͷϧʔϧϑΝΠϧΛJNQPSU͢Δ͜ͱ͕Մೳ
͍ΖΜͳϧʔϧ w FTMJOUDPOpHFTMJOU w FTMJOUDPOpHBJSCOC w FTMJOUDPOpHHPPHMF w FTMJOUDPOpHTUBOEBSE w
FUD
FTMJOUDPOpHBJSCOC w &4༻ϧʔϧΛҰ൪࠷ॳʹ࡞Γ࢝Ίͨ w ਓؾϧʔϧ w &4ه๏Ͱॻ͘ͱΊͪΌͪ͘ΌౖΒΕΔ w IUUQTHJUIVCDPNBJSCOCKBWBTDSJQUCMPCNBTUFS QBDLBHFTFTMJOUDPOpHBJSCOCCBTFSVMFTFTKT
ͯ͜ͱͰ w "JSCOCϧʔϧͰ&4Λ֮͑Δ
ҧ͏ ʄшʄ ސ٬ͷٻΊͯΔͷͦ͏͡Όͳ͍
ސ٬ͷຊʹඞཁͩͬͨͷ ʴ
ސ٬ͷຊʹඞཁͩͬͨͷ ⋵ ʴ
͜͜·Ͱ৺ߏ͑ͷ ࣮ࡍʹࢼͯ͠ΈΔ
ਓப w IUUQTHJUIVCDPNTPUB1BSUZ w 3FBDU /PEFKTͷੲॻ͍ͨΞϓϦΛνΣοΫ ͢Δ
*OTUBMM $ npm i -D eslint \ eslint-config-airbnb \ eslint-plugin-import
\ eslint-plugin-react
FTMJOUSD { "extends": "airbnb" }
$PNNBOE $ ./node_modules/eslint/bin/eslint.js src/ # or $ npm run lint
# package.jsonͰ”eslint src/“Λఆٛ
%&.0
݁Ռ w ίʔυྔߦ w ͷΤϥʔͱͷܯࠂ͕ग़ͨ w զʑͷۀքE SZ
&4༝དྷͷΤϥʔ • Unexpected var, use let or const instead •
'option' is never reassigned, use 'const' instead • Expected property shorthand
&4༝དྷͷΤϥʔ • Unexpected var, use let or const instead •
'option' is never reassigned, use 'const' instead • Expected property shorthand WBS͡Όͳͯ͘MFU DPOTUΛ͑ ࠶ೖ͠ͳ͍ͳΒDPOTU͑ 0CKFDUTIPSUIBOEͰॻ͚Δͥ
ଞʹʜ w ඇৗʹଟ͘ͷϧʔϧ͕ఆٛ͞Ε͍ͯΔ w ͬͯΔه๏Ͱؤுͬͯॻ͍ͯɺ࿙ΕͨͷΛ &4-JOUʹࣤͬͯΒ͏ͱΑ͍
·ͱΊ
େࣄͳͷϞνϕʔγϣϯ w ࣤΒΕΔͱؤுΕΔ w ࣤͬͯ͘ΕΔ͜ͱΛ͝๙ඒͩͱࢥ͑ͬͱؤ ுΕΔ w &4-JOUʹࣤͬͯΒָͬͯ͘͠&4ֶश
Ҏ্ɺղࢄʂ
More Decks by Sota Sugiura
See All by Sota Sugiura
内製したSlack Appで頑張るIncident Response@Waroom Meetup #1 / Incident Response with Slack App in 10X
sota1235
0
2k
20220926_セキュリティチームの今_for_Drs._Prime_公開用.pdf
sota1235
0
230
再発防止策を考える技術 / #phpconsen
sota1235
10
4.1k
How to choose the best npm module for your team?
sota1235
9
700
Realtime Database for high traffic production application
sota1235
7
4.3k
Road to migrate JP Web as a microservice
sota1235
4
1.8k
インターフェース再入門 / Think Interface again
sota1235
6
11k
再発防止策を考える技術 #phpconfuk_rej
sota1235
1
1.4k
Update around Firebase #io18
sota1235
3
4.5k
Other Decks in Programming
See All in Programming
joyful-journey-spring-boot.pdf
hollycummins
0
110
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
340
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.5k
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
2
150
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
340
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
3
220
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
180
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
Agentic AI with the Power of Jakarta EE
ivargrimstad
0
200
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
310
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
210
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
Raft: Consensus for Rubyists
vanstee
143
7.9k
A Tale of Four Properties
chriscoyier
163
24k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.7k
Un-Boring Meetings
codingconduct
0
510
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
61k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
360