JakovJ
Convex Community5mo ago
2 replies
Jakov

ConvexAuthNextjsServerProvider questions

Hello Convex devs!

I'm asking about the ConvexAuthNextjsServerProvider component mentioned here:
https://labs.convex.dev/auth/setup#set-up-the-react-provider (press the Nextjs dropdown)

What features do I lose with it?

Because, I lose these features:
- Static site generation: I can't statically generate any page if this is in the layout.
- PPR: Partial Pre-rendering doesn't work that well, since anything under the dynamic component (which is ConvexAuthNextjsServerProvider will still be dynamic.

And these features really improve the speed of my app. I want those.
Authentication library for your Convex backend
Was this page helpful?