-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This work with redux-saga? #26
Comments
There shouldn't be any problems with it. I've used both of them here, though there's an earlier version of Of course, |
Hi there, |
@guipasmoi, thanks for bringing it up. This issue was addressing 2 questions:
The first one is already fixed by clicking
If you'd like to help solving those 2 issues on |
@zalmoxisus would u like to get any help with integrating |
@Andarist thanks for chiming in! I'm also busy right now with Redux DevTools Extension 3.0 release, then will try to get back to it. In order to integrate |
When I have time Ill surely would like to reach you and chat on some chat how could we approach this. Gr8 opportunity for the users (and for me in terms of learning :) ). Hope to wrap up this v1 some time in following weeks |
Is there something i didn't understood correctly ? We want to have an identifier on every redux action. To be able to associate redux devtools with redux saga-devtools why are we not using a middleware and doing something like that. let i = 0;
const ActionIdentifier = new Symbol("ActionIdentifier")
const actionIdentifierMiddleware = store => next => action => {
if (action[ActionIdentifier] == undefined) {
i++;
action[ActionIdentifier] = i++;
}
return next(action)
}
const monitor = createSagaMonitor()
const sagaMiddleware = createSagaMiddleware({ sagaMonitor: monitor })
const store = createStore(
rootReducer,
applyMiddleware(actionIdentifierMiddleware, sagaMiddleware)
)
sagaMiddleware.run(rootSaga) |
@guijesuis we're already storing actions indexes in Redux Devtools enhancer. The problem is how to associate those indexes with effects (not every action triggers an effect and an action can trigger multiple effects). Currently, in Saga DevTools they are just compared as reference, which is lost after serialization. See redux-saga-devtools/src/store/selectors.js#L72 and the related issue. I see you mean to pollute the action object. It could be a solution, but still better to be implemented on |
No description provided.
The text was updated successfully, but these errors were encountered: