redux-saga-devtools-extension
redux-saga-devtools-extension copied to clipboard
Chrome extension for Redux-Saga Devtools
Redux-Saga DevTools Chrome Extension
Chrome Extension for Redux-Saga Devtools
Usage
- Install the extension from the Chrome marketplace
- 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)
- Open the Chrome DevTools and inspect your Sagas