Julián DavidJ
Convex Community11mo ago
7 replies
Julián David

Refresh token issue – Next.js with React Compiler and PPR

Do you think Convex can work with the React Compiler and Next.js using PPR? I’m having an issue with the cookie—it’s not revalidating. I’m using Next.js, Convex auth with Auth.js, PPR, and the React Compiler enabled. Every time the session needs to be refreshed, it doesn’t happen automatically, and I have to reload the browser twice to make it work.

I’ve seen similar issues reported in different places, but the suggested solutions haven’t worked for me. If anyone has a hint, I’d appreciate it! I can also give access to the repo, and I’ll find time to create a reproduction example later
Was this page helpful?