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.4k
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
200
console.animate
ktsn
2
2.7k
Gulp のビルドをもっと効率化するツールを作ってみた / Making a Tool for Optimizing a Build Process of Gulp
ktsn
2
2.4k
ラムダ計算入門 / Introduction of Lambda Calculus
ktsn
0
380
Contextual ThisType and Vue.js
ktsn
0
13k
TypeScript で型検査器を作る / Implementing a type checker with TypeScript
ktsn
0
22k
大規模静的サイトのためのビルドツール
ktsn
0
2.3k
型付きテンプレートがほしい
ktsn
1
44k
Toward Type Safety of Vuex
ktsn
1
990
Other Decks in Programming
See All in Programming
contribution to astral-sh/uv
shunsock
0
520
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
12
7.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
430
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
790
CSC509 Lecture 07
javiergs
PRO
0
240
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
130
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
330
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
6.7k
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
530
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.2k
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
190
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
8.2k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Unsuck your backbone
ammeep
671
58k
GitHub's CSS Performance
jonrohan
1032
470k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Site-Speed That Sticks
csswizardry
13
920
Building an army of robots
kneath
305
46k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Designing for humans not robots
tammielis
254
26k
Optimizing for Happiness
mojombo
379
70k
The Cult of Friendly URLs
andyhume
79
6.6k
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 ࠶ؼతͳσʔλߏͳΜͱ͔͍ͨ͠