docs/plans/2026-04-13-rsc-client-boundary-root-cause.md
Find the real reason apps/www needs a package-level React client boundary on this branch, even though origin/main builds without it in the same environment.
origin/main clean worktree builds apps/www without packages/plate/src/react/index.tsx containing 'use client'.packages/core/src/react/components/EditorHotkeysEffect.tsxpackages/core/src/react/components/PlateContent.tsxpackages/core/src/react/plugins/event-editor/useFocusEditorEvents.ts1efb71b9a Simplify discussion UI.playground-demo.tsx console loggingsuggestion-shared.ts / static helper placementTrailingBlockKittsconfig alias rewritesserverExternalPackagesslate version drift aloneSomething introduced by 1efb71b9a changes the app import graph enough that Next/Turbopack starts analyzing the platejs/react graph as part of a server path on this branch but not on origin/main.
1efb71b9a around app routes, registry exposure, and generated registry output.platejs/react on this branch.'use client' at the package entry if possible.src/app/api/registry/[name]/route.tssrc/lib/rehype-utils.tssrc/__registry__/index.tsxtrailing-block-kit being exposed as a registry item pulled @platejs/suggestion/react into that server graph.trailing-block-kit into a real client-only kit (.tsx + 'use client') before exposing it through the registry.