Open elmdecoste opened 2 months ago
Does this change if you downgrade @apollo/client
to 3.9.4?
That version updated the rehackt
dependency.
I don't expect this to be the reason, as that version of rehackt
only contains changes regarding server components and none regarding client components, but it recently changed, so let's check it first.
@phryneas The same issue persists on 3.9.4 as well sadly
Could you please create a reproduction repository? We're not seeing this in our examples or integration tests, so I'm unfortunately unable to help you without some kind of reproduction.
For me downgrading @apollo/client
did not solve the issue, but downgrading next
itself to 14.0.4
seems to resolve it.
Got the idea from this post. I had the problem even though I was using the @apollo/experimental-nextjs-app-support/ssr
lib and did everything as the docs mentioned.
I basically created the Provider
the same way as @elmdecoste did (without the authLink
).
I would be really thankful for a reproduction at this point. We cannot fix anything without that!
I am using NextJS 14.1 and am now running into an issue when using this library to create a client and provider for my application.
We updated to:
And now whenever we try to the dev server or build we get the error:
Here's our
apollo-wrapper.tsx
file: