[Convex + Clerk + Next.js] Cant make static routes
In order to make Convex + Clerk work I need to pass
useAuth()
to the ConvexProviderWithClerk
.
This only works if I make my ClerkProvider
dynamic with passing the dynamic
prop. This makes it impossible to render a page statically in my Next.js app.6 Replies
@FleetAdmiralJakob 🗕 🗗 🗙 could you post more details, e.g. what version of Next.js is this?
Next 15, @clerk/nextjs 6
I think this basically related to the conversation in #clerk . at least in nextjs 14 and clerk 6 the ClerkProvider doesn't seem to respect the dynamic anyway, but isn't the whole point to not need to set dynamic. I've been getting this error constantly even with dynamic set:
Hmm, yeah. Weird. I want all routes when possible statically rendered. Setting dynamic on the root doesn't help with that
I also recieve this error. Do you also see this in your console?
It's functioning without any errors though, so far.
If you are talking about the last error: sorry, no