Clerk auth v6 integration with Convex provider in Nextjs
So v6 of clerk is out and it gives us the ability to wrap individual components with the clerk provider and pass the dynamic prop to get server side auth.
Currently the convex provider requires us to wrap the entire root and wrap that in a dynamic clerk provider causing all pages to be dynamic and rerender on each request…
Is there any plans to change how the convex provider works with clerk?
It would be nice to take advantage of nextjs ppr and other static rendering methods of pages that don’t require server side auth.
3 Replies
A pending update is acknowledged here: #clerk
Okay thanks, at the moment i am just doing export const dynamic = ‘force-static’