VUEX PLUGIN 101CHO
View Slide
VUE PLUGINUSERS
VUEX PLUGINUSERS.. , . .
VUEXPLUGINDEVELOPER
EASY TOMAKE
Loggerhttps://codesandbox.io/s/887m806p5l
subscribe
https://3kqr0kjm95.codesandbox.io/
StateSnapshot1StateSnapshot2StateSnapshot3StateSnapshot4StateSnapshot5VersionsCurrentVersion RedoreplaceState(state: Object)Undo
Other Implementations
subscribeAfterStateChanged
subscribeActionsubscribeVer. 2.5.0+
Avoid Duplicate API Requests
http://reactivex.io/documentation/operators/debounce.html
https://p4yvo81lq.codesandbox.io/
VUEX PLUGIN ≠ ASPECT
subscribeActionsubscribeNonstop
Vuex PluginSubscriberSetChangesWindowListenerListening toChangesvuex-shared-mutationsVuex StateVuex StateSubscribing ToChangesSetChangesTab 1 Tab 2LocalStorage
https://davestewart.github.io/vuex-pathify/
https://github.com/vuex-orm/vuex-orm
CheckMore