What it does
Is a plain function imported from a "use client" module into a server component, dragging the client boundary with it?
How it helps you
Client-only code stays out of server pages, which prevents crashes and extra weight.
Tested against itself
16 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Code quality |
|---|---|
| Also filed under | Design |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| Breaks caught | 16 |