Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Detected multiple renderers warning when upgrading to new app directory #35

Closed
gabrielkuettel opened this issue May 10, 2023 · 2 comments
Assignees

Comments

@gabrielkuettel
Copy link

I'm getting the following warning when switching over to the new app directory:

Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.

Any ideas on what could be causing this?

@jacobsfletch
Copy link
Member

Hey @gabrielkuettel! Hmm what is your setup? I just opened a PR in the Payload main repo with a fully working example of how to achieve this using the new Next.js App Router. Check it out! payloadcms/payload#2920

I'm curious what differences there might be between that PR and your current setup. If you could provide some more details I'd be happy to help!

@jacobsfletch
Copy link
Member

Hey @gabrielkuettel! Check out my latest comment on another issue here: #23 (comment)

Hey everyone! This repo has officially moved to the examples directory here: https://github.com/payloadcms/payload/tree/master/examples/custom-server and so it will be archived shortly. This new example is using the new Next.js 13 App Router, so I'm going to go ahead and close this issue. If you're still having troubles, take a look through that new example. Let me know if you're still having troubles after that, I'll be happy to help 👍

Let me know if you need anything here and I'd be happy to give you a hand.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants