Skip to main content

code-splitting

Split heavy CLIENT code out of the bundle with `next/dynamic({ ssr: false })` the right way. Use BEFORE adding a dynamic import, making a component "lazy", deferring a heavy widget, cutting bundle/first-load size, fixing a "window is not defined" / hydration mismatch on a browser-only component, or reaching for `React.lazy`. Triggers on `next/dynamic`, `dynamic(`, `ssr: false`, `React.lazy` / `lazy(`, `loading:`, "code split", "lazy load", "defer this", "make this not load on every page", "heavy client component", "shrink the bundle", or wrapping a heavy core in a thin shell. ALSO the first stop for BUILD FAILURES and build-time regressions: "build failed", "OOM", "SIGKILL", "out of memory", "build got slower", "Vercel build error", "Collecting page data" — rule 3 (THE FRAGMENTATION LAW) + docs/handoffs/build-graph-fragmentation-campaign.md hold the measured incident, the diagnosis order, and the fix pattern. Read this whenever a task touches how a component enters (or stays out of) a chunk.

Ir para a instalação

Informações da origem

Repositório
armanisadeghi/ai-matrx
Última atividade na origem
18 de agosto de 2026 às 01:56
Idioma detectado do SKILL.md
inglês
Estrelas
3
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.