SSR Error Boundary POC

This demo shows how error boundaries can work during server-side rendering. Try the links below to see it in action.

/top-secret
Visit without the secret — the SSR error boundary catches the error and renders a fallback. Click this link to test client-side navigation (no SSR).
/top-secret?secret=42
Visit with the secret — the content renders normally.
What to observe:
  • Open /top-secret directly in a new tab — the fallback is server-rendered (view source to confirm)
  • Click the link above — client-side navigation, the error boundary catches it on the client
  • Compare the two: same fallback, different error handling paths