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 :)
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.
5 comments
[ 7.9 ms ] story [ 43.0 ms ] threadrow?