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
Vuex の正体とその未来
Search
katashin
October 28, 2016
Programming
3
2.3k
Vuex の正体とその未来
Vue.js Tokyo v-meetup=“#2" 2016/10/28
http://vuejs-meetup.connpass.com/event/41955/
katashin
October 28, 2016
Tweet
Share
More Decks by katashin
See All by katashin
テストの重要性 / Test is Important
ktsn
0
190
console.animate
ktsn
2
2.6k
Gulp のビルドをもっと効率化するツールを作ってみた / Making a Tool for Optimizing a Build Process of Gulp
ktsn
2
2.3k
ラムダ計算入門 / Introduction of Lambda Calculus
ktsn
0
290
Contextual ThisType and Vue.js
ktsn
0
13k
TypeScript で型検査器を作る / Implementing a type checker with TypeScript
ktsn
0
22k
大規模静的サイトのためのビルドツール
ktsn
0
2.2k
型付きテンプレートがほしい
ktsn
1
44k
Toward Type Safety of Vuex
ktsn
1
960
Other Decks in Programming
See All in Programming
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
Package Traits
ikesyo
1
210
DMMオンラインサロンアプリのSwift化
hayatan
0
190
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.4k
Lookerは可視化だけじゃない。UIコンポーネントもあるんだ!
ymd65536
1
130
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
3
2.8k
Androidアプリの One Experience リリース
nein37
0
1.2k
Azure AI Foundryのご紹介
qt_luigi
1
210
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
300
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
9k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7.1k
RailsConf 2023
tenderlove
29
970
Making the Leap to Tech Lead
cromwellryan
133
9k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
The Language of Interfaces
destraynor
155
24k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
Six Lessons from altMBA
skipperchong
27
3.6k
A designer walks into a library…
pauljervisheath
205
24k
Visualization
eitanlees
146
15k
Transcript
7VFYͷਖ਼ମͱͦͷະདྷ 7VFKT5PLZPWNFFUVQl
!LUTO LBUBTIJO 7VFKTDPSFUFBNNFNCFS 7VFYNBJOUBJOFS ઃܭ͜Θ͍
ঢ়ଶཧ͕ͭΒ͍ w ͋ΔίϯϙʔωϯτͷσʔλΛଞͰࢀর͍ͨ͠ w ঢ়ଶભҠ͕ෳࡶͰͲ͏ಈ͍ͯΔͷ͔Θ͔Βͳ͍ w ίϯϙʔωϯτׂͨ͠ΒόέπϦϨʔͭΒ͍
3FEVY w ෭࡞༻ΛͲ͏ॻ͘ͷ͔ w ґଘ͢Δ4VC4UBUF5SFFΛͲ͏࣋ͬͯ͘Δ͔ w "DUJPO$SFBUPSͷϘΠϥʔϓϨʔτͲ͏͢Δ͔
7VFYJTBTUBUFNBOBHFNFOUQBUUFSO MJCSBSZ GPS7VFKTBQQMJDBUJPOT
7VFYͷਖ਼ମʁ w 'MVY w 4JOHMF4PVSDFPG5SVUI w $234
None
(FUUFS
.VUBUJPO
"DUJPO
None
None
.PEVMF
.PEVMFͷڍಈ w 4UBUF͕Ϟδϡʔϧͷ4UBUFʹͳΔ w Ϟδϡʔϧ͝ͱʹ4UBUFͷײ৺Λ w (FUUFS "DUJPO .VUBUJPOͯ͢ϑϥοτʹల։ w
/BNFTQBDF։ൃऀ͕Λ࣋ͭ w 7JFX4UPSFͷߏΛΒͳ͍ w มߋʹΑΓڧ͘ͳΔ
7VFYΛ͏ w 41"ͳΒͱΓ͋͑ͣಋೖͯ͠ྑ͍ w WVFEFWUPPMTͷϝϦοτ͕େ͖͍ w ϥΠϒϥϦࣗମͦΜͳʹ੍ͳ͍ͷͰॊೈ
Components Mutations State
Components Mutations State Actions Getters
Backend API Router Browser API ʜ Model Side Effects Service
Components Mutations State Actions Getters Domain
7VFYͷະདྷʁ
None
7VFYͷະདྷʁ w /BNFTQBDF w ࠶ؼతͳσʔλߏ w $MJFOU4FSWFS%BUB1FSTJTUFODFʢԕΊͷະདྷʣ ݸਓͷݟղͰ͋Γʢ͈́
None
ఏҊத 1VMM3FRૹͬͨ
None
None
ఏҊத
None
None
None
·ͱΊ w ਖ਼ମ w 'MVY 44P5 $234 w ෭࡞༻Λશʹ"DUJPOͰ͖Δ w
نʹΑͬͯઓज़Λม͑ΒΕΔॊೈੑ w ະདྷ w /BNFTQBDFͳΜͱ͔ͳΓͦ͏ w ࠶ؼతͳσʔλߏͳΜͱ͔͍ͨ͠