cq-dispatcher
Flux command query action creator.
An common query responsibility segregation action creator for 'flux-like' architecture. (Redux as an example)"
Install
npm install --save-dev cq-dispatcher
Usage
//reducers.js let reducer_name = 'LOAD': { //load begin } : { //load success } : { //load fails } 'TOGGLE': { //toggle } reducer_name // actions.js let webapi = { ajaxlib } const actions = Vue webapi //vue<script> { return items: this } { if !thisitems actions } methods: { actions } </script>