Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported #37424
Replies: 43 comments 26 replies
-
We're also seeing this and I believe that it has more to do with Apollo's When I was debugging the warning, I discovered that apparently the provider being rendered at the time its logged is I don't currently have a minimal reproduction, but I could spend some time putting one together if that would help troubleshoot this issue. We're using 18.2.0 for React and 12.2.3 for Next.js. |
Beta Was this translation helpful? Give feedback.
-
This seems to be fixed in Next 13 (at least for our application). |
Beta Was this translation helpful? Give feedback.
-
running into this warning on v13.4.4. (it's not hindering my process, but annoying as it's getting logged in the console on each page render)
|
Beta Was this translation helpful? Give feedback.
-
Downgrading my next version to 13.1.1 solved it for me. |
Beta Was this translation helpful? Give feedback.
-
I got that error when tried configure i18n in two different place from next.config.js and from app/i18n and middleware.js. When i cleaned my next.config.js, error is gone. I guess it's not your case, but i hope it will help someone. |
Beta Was this translation helpful? Give feedback.
-
I had similar issue, but then it suddenly stoped after I moved outside
|
Beta Was this translation helpful? Give feedback.
-
Any new update on this issue, i'm running next 13.4.2, with a custom express server handling my api routes, not sure what is causing these warnings...... any assistance would be greatly appreciated |
Beta Was this translation helpful? Give feedback.
-
any new updates on this issue? |
Beta Was this translation helpful? Give feedback.
-
I am having this issue as well on a bare minimum NextJS setup. I used In
I get the error if I go to my url and enter either Edit: reverting to |
Beta Was this translation helpful? Give feedback.
-
@bitstein having this error as well. |
Beta Was this translation helpful? Give feedback.
-
Yes, Im experiencing this issue as well any updates? |
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue, and still don`t know the cause. Any suggestion on how to fix it? |
Beta Was this translation helpful? Give feedback.
-
Same error with 13.4.9 |
Beta Was this translation helpful? Give feedback.
-
i found this today on nextjs 13.4.9 how can i solve ths one |
Beta Was this translation helpful? Give feedback.
-
same error for |
Beta Was this translation helpful? Give feedback.
-
This issue still happens, @latest next |
Beta Was this translation helpful? Give feedback.
-
Hello guys, this still happens in my project:
Thank You! |
Beta Was this translation helpful? Give feedback.
-
Fixed by adhering to the new app router convention from |
Beta Was this translation helpful? Give feedback.
-
I was able to fix this issue by removing empty folder "src/pages". |
Beta Was this translation helpful? Give feedback.
-
Chiming in, I had this error when submitting a form with React Hook Form to a server action. Using the |
Beta Was this translation helpful? Give feedback.
-
I just went wrong in circles for ages with this. But it turns out I had my folder name as |
Beta Was this translation helpful? Give feedback.
-
In my case, generateStaticParams + server action was the cause. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I've recently encountered an issue that seems to resonate with the discussions happening in this thread. I'm working on a Next.js application with Apollo Client, and I'm using Environment
Expected BehaviorEach page request, when accessed simultaneously across different tabs, should independently wait for Observed BehaviorInstead, one tab seems to render correctly with SSR, while the other appears to fall back to client-side rendering (CSR), not waiting for the data fetching request to complete. Attempted ResolutionsI've tried updating Next.js to the latest version, which resolved some warnings, but did not fix the main issue. I initially thought this could be related to a caching issue or perhaps a problem with the way I'm curious if anyone else has experienced this behavior and understands the potential reasons behind it. Also, any suggestions on best practices to enforce consistent SSR behavior, even under simultaneous high-load scenarios, would be greatly appreciated. Thank you in advance for any insights or assistance you can provide! |
Beta Was this translation helpful? Give feedback.
-
Well, removing the .next folder and removing the empty pages folder helped for now |
Beta Was this translation helpful? Give feedback.
-
I had the same issue when using nextjs v13.5.* and it disapeared when I bumped to nextjs v14 |
Beta Was this translation helpful? Give feedback.
-
What node versions y'all using ? next@13.4.19 |
Beta Was this translation helpful? Give feedback.
-
I got the error when I have:
It worked fine with my previous setup:
|
Beta Was this translation helpful? Give feedback.
-
Same error with:
|
Beta Was this translation helpful? Give feedback.
-
For those who utilizing NextJS alongside react-redux to manage their contexts, I successfully addressed the issue by updating to the latest Redux libraries. This came about after I initially created the project in NextJS 13 and later migrated it to NextJS 14. "react-redux": "^9.1.1", You might encounter difficulties during installation as it necessitates the latest version of @types/react as well. "@types/react": "^18.2.79", |
Beta Was this translation helpful? Give feedback.
-
Hello,
I just upgraded to the react 18 and since then I am receiving a following warning
Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported
It seems that the culprit tis my custom document, but why?
Beta Was this translation helpful? Give feedback.
All reactions