HNHacker News
TopNewBestAskShowJobs

markselby

4 karma · joined May 8, 2017

submissionscomments
markselby··on Vuez – A very simple but powerful state management for vuejs projects
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.
markselby··on Vuez – A very simple but powerful state management for vuejs projects
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 :)