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
180
console.animate
ktsn
2
2.5k
Gulp のビルドをもっと効率化するツールを作ってみた / Making a Tool for Optimizing a Build Process of Gulp
ktsn
2
2k
ラムダ計算入門 / Introduction of Lambda Calculus
ktsn
0
250
Contextual ThisType and Vue.js
ktsn
0
13k
TypeScript で型検査器を作る / Implementing a type checker with TypeScript
ktsn
0
22k
大規模静的サイトのためのビルドツール
ktsn
0
2.1k
型付きテンプレートがほしい
ktsn
1
43k
Toward Type Safety of Vuex
ktsn
1
940
Other Decks in Programming
See All in Programming
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
480
VS Code をプロダクトにどう取り込むか
onomax
1
770
Sheets API使ってみた
toshi0383
2
170
Netty Chicago Java User Group 2024-04-17
sullis
0
210
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
9
4.3k
Fragment Composition of GraphQL
quramy
13
1.5k
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
140
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
Try creating your own orderedmap
kazamori
1
250
Goのエラースタックトレースの歴史と今後
sonatard
10
1.8k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
180
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
460
Featured
See All Featured
Scaling GitHub
holman
457
140k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
We Have a Design System, Now What?
morganepeng
43
6.8k
Making Projects Easy
brettharned
109
5.5k
A Tale of Four Properties
chriscoyier
153
22k
Automating Front-end Workflow
addyosmani
1357
200k
Faster Mobile Websites
deanohume
300
30k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Code Reviewing Like a Champion
maltzj
515
39k
Designing the Hi-DPI Web
ddemaree
276
33k
How STYLIGHT went responsive
nonsquared
92
4.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.4k
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 ࠶ؼతͳσʔλߏͳΜͱ͔͍ͨ͠