-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
Redux devtools not working Next 13 #43690
Comments
Same for me with the I tried different configurations with |
Also running into this issue when using the |
Same problem when I'm using the |
Same here, dev tools connecting only if you change the init state in reducer |
Same here, dev tools only connect after a change, but I can't get the actual or current value of my state in dev tools. |
Seeing the same warning/error:
|
Im also having the same problem |
annyone got any solution |
FYI folks, I saw this get reported in the Redux Toolkit repo today, and figured out the issue. Next's internal "router reducer" is trying to connect to the Redux DevTools so that the Next devs can debug it, but the connection code accidentally hardcoded the "instance ID". That's overriding any Redux DevTools connection set up by your application. I've notified the Next devs and they should hopefully fix it early next week. |
I reported it.... But if you know the solution please create a file and we will replace it in our source |
@vishalkumar2806 : There is no solution yet - it's a bug in Next's code. |
no you said that you give suggestion if you can solve it please do it |
I got a temporary solution for this problem... actually we can't the state because of our instance but its exist... so what you can do is get a copy of state and cosole log it like this |
Any news on this? I ran into this issue today. |
Also running into this |
Also running into this with React Query TanStack/query#5023 |
This issue was also discussed here reduxjs/redux-toolkit#3154
There was a fix by @timneutkens fea8c8e addressing this issue. For me this issue it's gone, I'm on next |
Is there any movement on this? Also running into the issue with |
Edge runtime causes this problem as apparently it creates its own So just remove in file generally its written as
or
Remove these from the file or replace |
So I cannot use edge runtime in a project that has react-query ? That is so unfortunaate. |
That's probably the same as #47057 (comment) I imagine. GabeDuarteM/nextjs-bug-unstable_batchedUpdates and yeah, it seems that for now the edge runtime basically breaks anything that depends on The workaround, for now, is not to use the edge runtime but would be great to have this properly fixed, as those are huge and popular libraries and I can imagine this would be a huge dealbreaker for people using edge on Vercel... |
Hey everyone -- the issue with Redux dev tools appears to be fixed in #45649 and the issues with Going to close this out but if you continue to see issues please open a new ticket! |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://stackblitz.com/edit/nextjs-z7lnws?file=app/store.js
To Reproduce
counter
Describe the Bug
Its only show the next-router instance. There is no other instance for me to see the states & events related to my application.
Not sure if its related but, I saw this warning on the console.
Expected Behavior
I should be able to see the instance of my application with related redux states & events.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-1389
The text was updated successfully, but these errors were encountered: