Skip to content

Fix client-only dynamic import examples - #274

Open
gauravsaxena1997 wants to merge 1 commit into
vercel-labs:mainfrom
gauravsaxena1997:fix/react-best-practices-ssr-client-components
Open

Fix client-only dynamic import examples#274
gauravsaxena1997 wants to merge 1 commit into
vercel-labs:mainfrom
gauravsaxena1997:fix/react-best-practices-ssr-client-components

Conversation

@gauravsaxena1997

Copy link
Copy Markdown

Summary

  • Moves the Analytics ssr: false dynamic import example behind a Client Component boundary.
  • Adds use client to the Monaco dynamic import example.
  • Regenerates skills/react-best-practices/AGENTS.md and extracted test cases.

Why

This addresses #216, where React best-practices examples used ssr: false dynamic imports in contexts that looked like Server Components.

Validation

  • pnpm validate
  • pnpm build
  • git diff --check

@vercel

vercel Bot commented May 27, 2026

Copy link
Copy Markdown

@gauravsaxena1997 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant