Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 786 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 786 Bytes

Redux-Saga DevTools Chrome Extension

Chrome Extension for Redux-Saga Devtools alt-text

Usage

  1. Install the extension from the Chrome marketplace
  2. When creating your saga middlware, pass the extension monitor to the middleware as an option
const monitor = window["__SAGA_MONITOR_EXTENSION__"]
const sagaMiddleware = createSagaMiddleware({ sagaMonitor: monitor })
const store = createStore(
  rootReducer,
  applyMiddleware(sagaMiddleware)
)
sagaMiddleware.run(rootSaga)
  1. Open the Chrome DevTools and inspect your Sagas