Cache Components Bug Repro
This route intentionally mixes a cached server component that renders Clerk client UI with a dynamic server block. When cacheComponents is enabled, the cached portion will attempt to render through a cache boundary without a suspense wrapper, leading to the Render in Browser should be wrapped in a suspense boundary error described in PR #7119.
Dynamic render timestamp
2026-04-16T22:07:32.698Z
This stays dynamic even when cacheComponents is enabled.
next.config.js (snippet below).pnpm build and then pnpm start./examples/cached-components/bug-repro and observe the missing suspense boundary error before applying the PR fix.1// next.config.js2/** @type {import("next").NextConfig} */3const nextConfig = {4 cacheComponents: true,5};67export default nextConfig;
Cached Clerk island (opted into cacheComponents)
cached at: 2026-04-16T21:39:30.500Z
Loading Clerk UI…