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
ES2017でjQuery
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
camcam_lemon
July 15, 2018
Programming
78
0
Share
ES2017でjQuery
ゆるクリ会(2018/7/14)
camcam_lemon
July 15, 2018
More Decks by camcam_lemon
See All by camcam_lemon
オレを実装してデザイン実装楽したい
lemon
0
75
要素のサイズを変えずに押しやすくする
lemon
0
88
iOSのキーボード入力ビューをカスタマイズする
lemon
0
300
視え方と文字の大きさ
lemon
1
450
Yarn WorkSpaces × React Nativeの環境構築
lemon
0
320
フロントエンドにおけるアーキテクチャとの向き合い方
lemon
10
5k
UI/UXデザイナーがデザインしてるもの
lemon
2
340
react-reduxで追加されたHooks APIの良い所と使い方
lemon
5
1k
ESLintで始めるTypeScriptの静的解析
lemon
8
2.2k
Other Decks in Programming
See All in Programming
AI活用のコスパを最大化する方法
ochtum
0
370
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
120
おれのAgentic Coding 2026/03
tsukasagr
1
140
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
530
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
860
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.1k
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
310
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
240
PHPで TLSのプロトコルを実装してみる
higaki_program
0
740
Don't Prompt Harder, Structure Better
kitasuke
0
390
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
290
Swift Concurrency Type System
inamiy
0
300
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
790
How STYLIGHT went responsive
nonsquared
100
6k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Code Review Best Practice
trishagee
74
20k
Facilitating Awesome Meetings
lara
57
6.8k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
680
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
160
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
Scaling GitHub
holman
464
140k
Transcript
ES2017ͰjQuery
Name ߕ൹ా ྄Ұ Twitter @camcam_lemon Company undefined Occupation ϑϩϯτΤϯυΤϯδχΞ Skills
React / Redux / PWA / GAS
None
“ φ͘jQueryΛॻ͍ͯΈΑ͏ɾɾɾʂʂ “
ΠέͯΔjQuery ˕ AjaxΛϞδϡʔϧԽ => ΤϥʔϋϯυϦϯάΛ෦ʹӅณ => PromiseԽ ˕ JSXϥΠΫʹappend()Λهड़ =>
ؔܕϓϩάϥϛϯάΛϑϧ׆༻ => ςϯϓϨʔτϦςϥϧͰϦʔμϒϧʹ
ී௨ͷAjax
None
_ajaxͷ͍ํ(thenable)
_ajaxͷ͍ํ(async/await)
ϞδϡʔϧԽͨ͠ajax ˕ඇಉظ௨৴ͷίʔϧόοΫࠈ͔Β٫ ˕ຖճajaxΛهड़͢ΔखؒΛলུ ˕Promise.allͱซ༻͢Δ͜ͱͰ͖Δ => initializeޙย͚ͷίʔυΛΊΔ
ී௨ͷappend
Ͳ͏هड़͢Δͷ͔ ˕ 1ͭͷappendͰશͯฦ͢Α͏ʹ͢Δ ˕ ReactͷΑ͏ʹ༩͑ΒΕͨprops(Ҿ)Λݩʹඳ ը͍ͯ͘͠ͷΛܾΊΔ ˕ ͔ؔΒؔΛݺͼग़ؔ͢ͷचͭͳ͗ ˕ ੍ޚॲཧϩδοΫΛىʹؔͱͯ͠ൈ͖ग़
͠ɺؔͷதʹด͡ࠐΊΔ
Reactͷॻ͖ํ
None
None
·ͱΊ ˕ES20xxͱjQueryͷ૬ੑ˓ (thisʹҙ) ˕ςϯϓϨʔτϦςϥϧ × append͕ΤϞ͍ ˕IEΓࣺͯͷཁ݅ͳΒͬͯΈΔͷ͍͍͔
“ ݁ہ jQuery ͬͯΦϫίϯͳͷʁ “
jQueryΦϫίϯʹର͢Δͷanswer Q. jQueryΦϫίϯ͔ʁ A. ΦϫίϯͰ͋Δ => ৽ن։ൃͰ࠾༻͢ΔϥΠϒϥϦʔͰͳ͍ => ϝϯςφϯε͢Δͷʹ jQueryͷιʔείʔυͭΒ͗͢Δɾɾɾ
͝੩ௌ ɹ͋Γ͕ͱ͏͍͟͝·ͨ͠