Minor Changes
- 4aff994:
<Show>now renders on the server and during hydration wheninitialStateis provided (viabuildClerkProps), instead of rendering nothing until clerk-js has loaded in the browser. This matches@clerk/reactand@clerk/vueand removes the blank-content flash on full page loads.<Show>now accepts atreatPendingAsSignedOutprop (defaulttrue), matching the other Clerk SDKs. Sessions with apendingstatus are now treated as signed out unless the prop is set tofalse. In SvelteKit,locals.auth()applies the same default on the server, so to opt out during SSR as well, buildinitialStatewithbuildClerkProps(locals.auth({ treatPendingAsSignedOut: false })).- Because
<Show>can now render server-side,whenpredicate functions, children, andfallbacksnippets must be safe to run during SSR.