Emitters for Stent's Chrome extension
Small JavaScript files that emit events to the StentDevTools Chrome Extension.
Installation
yarn add stent-dev-tools-emitters -D
or npm install stent-dev-tools-emitters -D
.
Stent integration
;; Machine;
Redux integration
;; const middleware = ; const store = ;
Redux-saga integration
;;; const emitter = ;const sagaMiddleware = ; const store = ; // This bit is really important.// Without it you won't get the current state of the app with every event.emitter; sagaMiddleware