5 comments

[ 7.9 ms ] story [ 43.0 ms ] thread
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 :)
(comment deleted)
>Whenever you are interested in monitoring an object or an event, start a new column in the table with a new name, with an object you plan to monitor

row?

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.