defrexD
Convex Community6mo ago
4 replies
defrex

Authenticated wrapper is laggy and breaks SSR

I'm using Convex with Clerk. The requirement to wrap all client code in the Authenticated component completely breaks SSR, even though the user is already authenticated during the server rendering process.

Past that, it also adds a noticeable amount of lag (>100ms) to the page load.

Both of these compromises feels pretty unacceptable to me. Is there any way to work around this? I'm really loving convex and would hate to loose all the reactive db greatness on a technicality.
Was this page helpful?