PPR Nonce Isolation Test
Clerk DynamicClerkScripts nonce isolation
This page verifies that @clerk/nextjs correctly isolates nonce fetching into a Suspense-wrapped DynamicClerkScripts component. With the fix, pages using cacheComponents: true can mix cached and dynamic content without build errors.
Clerk UI Components
Loading Clerk UI...
What this tests
- Cached content— The "use cache" component renders a timestamp that stays stable across requests.
- Dynamic content — The
auth()call renders fresh on every request. - Clerk scripts — Clerk JS loads via the new Suspense-isolated
DynamicClerkScripts. - Auth state — SignedIn / SignedOut render correctly based on authentication.
- Build passes — This page builds without errors when
cacheComponents: true.