Re:Vuez – A very simple but powerful state management for vu...
by markselby on Monday May 08, 2017 @12:56AM
(#14289350)
Vuez is a very simple state management library for Vue.js projects, with only two APIs. Please kindly check the repo and demo projects if you are interested :)
Re:Vuez – A very simple but powerful state management for vu...
by markselby on Monday May 08, 2017 @01:11AM
(#14289395)
Yes that's roughly the general idea. If you're interested in something named 'foo'(let's say an object), use store.observe('foo', some_object) to observe it, then define some actions on the name 'foo' wherever it's convenient. Next time you call the store.observe('foo', changed_object) somewhere, if the object is changed, the actions would be automatically triggered.
row?