#vue-sap
In addition to being a plugin for Vue, this plugin attempts to answer questions about state management... poorly. This library ignores the brilliance of flux architecture and decentralizes state (kinda).
The API's not fleshed out (of course), but maybe you can make sense of what's going on below.
new Vue({
el:'#app',
published:{
'msg':'Sweet Msg'
}
})
export default {
subscribed:{
'msg':'msg' // what does this extra msg do?
},
template:`<h5>{{msg}}</h5>`
}
Could you just centralize everything to the app using this? Sure, I guess.
Feel free to contribute, create issues, create pull requests. Just be friendly.