The Silent Killer of Next.js Performance: Component Poisoning

In the modern React ecosystem, specifically within Next.js and the new paradigms introduced in React 19, the distinction between Server Components and Client Components is the most critical architectural concept to master. Yet, it is also the most frequently misunderstood.

If you have ever imported a React Server Component directly into a Client Component, you have inadvertently "poisoned" your application. This silent performance killer is rampant in production codebases, leading to bloated bundles, broken security, and a complete breakdown of the server-side benefits you migrated to React Server Components (RSC) to achieve in the first place.

What is Component Poisoning?

Component poisoning occurs when a developer treats file boundaries as mere organizational choices rather than strict execution boundaries.