-
Notifications
You must be signed in to change notification settings - Fork 952
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
Dispatch doesn't reach enhancers (sagas, loggers) #131
Comments
Similarly to Redux DevTools extension and Remote Redux DevTools, there should be an When reduxjs/redux#1702 gets merged, this workaround wouldn't be necessary. |
I actually experienced in the rebuild too. I thought I was loosing my mind. Thanks for the info @zalmoxisus , i appreciate the heads up ❤️ |
For what it's worth, to fix my problem, I ended up removing this line
from the Not sure if this is viable solution for the library itself, though. |
Thank you very much for following up. |
Hey, so following up here to probably say something y'all already know. Seems like the enhancer order matters. Putting the Reactotron enhancer first seems to solve the issue. I'm not sure it was always like this? I probably broke something but this used to work. =) I've documented this now in the new version. In any case, just wanted to say thank you to both of you again. |
Fix incoming in #230 tomorrow. |
Co-authored-by: WhiteSource Renovate <[email protected]>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.14. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.4...4.17.14) Signed-off-by: dependabot[bot] <[email protected]>
I'm a noob with react native, so excuse me if I'm missing something obvious.
I created a new ignite app. I modified
App/Sagas/index.js
with the following content:(I added the
test
function).I modified the Startup saga like this:
When I launch the app, I see the DEV saga logged in console, and "dev" being written in the chrome console. I can also see the DEV action logged in reactotron.
Then I try to trigger this action from the reactotron interface ({type: 'DEV'}).
Nothing happens. My saga isn't activated, nothing is logged in the console nor reactotron.
I think the problem is between the way your
createSubscriptionListener
and redux'sapplyMiddleware
handle the store. Here are the relevant code snippets, in the order of execution.reactotron/dist/client.js
redux/lib/applyMiddleware.js
As you can see, reactotron's listener ends up with a bizzaro alternate universe version of the store, without any of the enhancers applied (including sagas, logging, etc.).
The text was updated successfully, but these errors were encountered: