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
Stimulusと他のフレームワークとの比較 / Comparison with Stimulus
Search
aikyo
September 27, 2019
Technology
0
74
Stimulusと他のフレームワークとの比較 / Comparison with Stimulus
aikyo
September 27, 2019
Tweet
Share
More Decks by aikyo
See All by aikyo
my-failures-when-i-was-a-team-leader
aikyo02
0
14
Other Decks in Technology
See All in Technology
JVM(JavaVM)の性能分析者観点で探るInstanaの可能性
instanautsjp
0
120
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
140
PHPerのための計算量入門/Complexity101 for PHPer
hanhan1978
5
680
Server-Side Engineer of LINE Sukimani
lycorp_recruit_jp
0
360
5分でわかるDuckDB
chanyou0311
10
3.3k
Wantedly での Datadog 活用事例
bgpat
2
690
C++26 エラー性動作
faithandbrave
2
820
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
340
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
270
Google Cloud で始める Cloud Run 〜AWSとの比較と実例デモで解説〜
risatube
PRO
0
120
なぜCodeceptJSを選んだか
goataka
0
180
Featured
See All Featured
Optimizing for Happiness
mojombo
376
70k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
A Tale of Four Properties
chriscoyier
157
23k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
KATA
mclloyd
29
14k
Practical Orchestrator
shlominoach
186
10k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Transcript
StimulusͱଞͷϑϨʔϜϫʔ Ϋͱͷൺֱ @aikyo02
Stimulusͱ HTML͕طʹ͋Δͱ͖͚ͷ߇͑ΊͳϑϨʔϜ ϫʔΫ (A modest JavaScript framework for the HTML
you already have.) https://stimulusjs.org/
ίʔυྫ(html)
ίʔυྫ(JavaScript)
StimulusͱଞͷϑϨʔϜϫʔΫ ͱͷൺֱ • StimulusSPAͰ͑ͳ͍ͷͰɺඇSPAͱ͠ ͯൺֱ͢Δɻ
• Stimulus: controller Λ࠶ར༻Մೳʹ͢Δ͜ͱ ͕ਪ͞Ε͍ͯΔɻ • Vue, Reactͷίϯϙʔωϯτʹ͍ۙɻ
ςϯϓϨʔτΤϯδϯ • Stimulus : ૉͷhtml • Vue : VueςϯϓϨʔτ(htmlʹσʔλόΠϯ σΟϯάͱಠࣗͷσΟϨΫςΟϒΛՃ͑ͨ
ͷ) • React : JSX (htmlΛJavaScriptͰදݱ͍ͯ͠Δ)
StimulusͷϝϦοτ • ಋೖͷίετ͕গͳ͍ɻ(jQueryͱڞଘͰ͖ Δ) • ബ͍ϑϨʔϜϫʔΫͳͷͰࣺ͍ͯ͢ɻ
StimulusͷσϝϦοτ • SPAෆՄೳɻ(turbolinksͱͷซ༻ͰSPA෩ʹ Ͱ͖Δ) • DOMΛಈతʹଟ͘มߋ͢ΔΑ͏ͳΞϓϦέʔ γϣϯͷ߹͔ͳ͍ɻ
Stimulus͕Αͦ͞͏ͳͱ͖ • ϑϨʔϜϫʔΫͷಋೖʹ͋·ΓϦιʔεΛׂ ͚ͳ͍ͱ͖ • ։ൃϝϯόʔ͕JavaScriptϑϨʔϜϫʔΫʹश ख़͍ͯ͠ͳ͍ͱ͖
͋Γ͕ͱ͏͍͟͝·ͨ͠