Please note the addition of
buildClerkProps in the return statement, which informs our React helpers of the authentication state during server-side rendering (like
Optionally, use the Preload User example to make user profile data available during server-side rendering.
Before Next.js 12.2
More detailed information about the fields in this object can be found in the Authentication Object documentation.