DEV Community

Discussion on: Detecting a User's Authenticated State Client-Side in Next.js using an HttpOnly Cookie and Static Optimization

Collapse
 
jlwalkerlg profile image
Jordan Walker

Doesn’t this just render a loading page until the client takes over? In that case, what’s the point in server side rendering?

Collapse
 
justincy profile image
Justin

Yes, that's how it works. It doesn't use server-side rendering. The page is statically generated during a build step.