channel-store
A channel-event
middleware to create an ambient state that functions similar to redux
but without the large amount of boilerplate and verbosity.
Installation
yarn add channel-store
npm install channel-store
Use
;;;.addDefaultState.build;;channel.sendstoreEvents.UPDATE_STATE,
To read the store
;// or;// listen to state changechannel.listenstoreEvents.STATE_UPDATED,;