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.

跳到安装

来源信息

仓库
armanisadeghi/ai-matrx
最近来源活动
2026年8月18日 01:56
检测到的 SKILL.md 语言
英语
星标
3
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。