Use dynamic imports for heavy client components
Use next/dynamic to code-split large client-only components like editors, charts, and maps.
Why This Matters
Large client libraries loaded eagerly increase the initial page bundle size, slowing down first contentful paint.
Tags
nextjssupabase
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 2+ others. Get actionable feedback before code ships.