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 Plugin 101 (Full Ver.)
Search
Cyan
May 23, 2018
Programming
2
1.1k
Vuex Plugin 101 (Full Ver.)
Cyan
May 23, 2018
Tweet
Share
More Decks by Cyan
See All by Cyan
EBMをベースに考えるプロダクト価値最大化 / Product Value Maximization Based on EBM
cho0o0
0
160
VPoEの視点から見た、ヘンリーがサーバーサイドKotlinを使う理由 / Why Server-side Kotlin 2024
cho0o0
1
700
エンジニアリング上の経験を普段のコミュニケーションにも活かせた話
cho0o0
0
160
Hatena DevBlog Meetup #1 LT
cho0o0
0
3k
OpenAPIによるスキーマ駆動開発を実現するための道のり
cho0o0
0
1k
ヘンリーのコミュニケーションスケーリング戦術 ~ミーティング編~
cho0o0
1
250
ファシリテーション勉強会
cho0o0
0
160
Token Ringについて
cho0o0
1
890
仕様ワークショップ
cho0o0
0
100
Other Decks in Programming
See All in Programming
Scaling your build logic
antalmonori
1
160
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
3.5k
functionalなアプローチで動的要素を排除する
ryopeko
1
1.2k
AHC041解説
terryu16
0
570
Lottieアニメーションをカスタマイズしてみた
tahia910
0
100
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
120
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
670
VitePressを2週間使ってみた感想
hal_spidernight
0
110
Software Architecture
hschwentner
6
2.1k
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
100
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
160
ErdMap: Thinking about a map for Rails applications
makicamel
1
1.4k
Featured
See All Featured
Fireside Chat
paigeccino
34
3.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
A designer walks into a library…
pauljervisheath
205
24k
For a Future-Friendly Web
brad_frost
176
9.5k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
A Tale of Four Properties
chriscoyier
158
23k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Done Done
chrislema
182
16k
Building an army of robots
kneath
302
45k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Building Adaptive Systems
keathley
39
2.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Transcript
VUEX PLUGIN 101 CHO
VUE PLUGIN USERS
VUEX PLUGIN USERS .. , . .
VUEX PLUGIN DEVELOPER
EASY TO MAKE
Logger https://codesandbox.io/s/887m806p5l
subscribe
https://3kqr0kjm95.codesandbox.io/
State Snapshot 1 State Snapshot 2 State Snapshot 3 State
Snapshot 4 State Snapshot 5 Versions Current Version Redo replaceState(state: Object) Undo
Other Implementations
subscribe After State Changed
subscribeAction subscribe Ver. 2.5.0+
Avoid Duplicate API Requests
http://reactivex.io/documentation/operators/debounce.html
None
None
https://p4yvo81lq.codesandbox.io/
VUEX PLUGIN ≠ ASPECT
subscribeAction subscribe Nonstop
Vuex Plugin Subscriber Set Changes Window Listener Listening to Changes
vuex-shared-mutations Vuex State Vuex State Subscribing To Changes Set Changes Tab 1 Tab 2 Local Storage
https://davestewart.github.io/vuex-pathify/
https://github.com/vuex-orm/vuex-orm
Check More
None