Docs: performance.md, the iapl-performance skill, AGENT.md 6.11b, doctor.md, audit, api.md, the measurements and the audit

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 13:51:43 +01:00
co-authored by Claude Opus 5.5
parent 801b897ea0
commit c6c5dfbcbf
16 changed files with 1367 additions and 18 deletions
+5
View File
@@ -104,6 +104,11 @@ export default createNotFoundPage(content, { load: loadNotFoundView })
```
(`fallback` with JSX → file `notFoundView.tsx`.)
**Layout shift (1.18.0: `placeholder`).** The lazy content comes after hydration, so the footer moves when it arrives
(measured on the reference site: CLS 0.32 and LCP 2.5 s on a phone, [performance.md](./performance.md)). A block as tall
as your 404 content keeps the footer still: `createNotFoundPage(content, { load, placeholder: <div style={{ minHeight: '36rem' }} /> })`.
Default: nothing, as before. A fixed one-screen block is no fix: shorter content then pulls the footer up into view.
**Why lazy:** Next puts the layout's `not-found` tree into the RSC data (`self.__next_f`) of **every** page
under it — the router needs it for a client-side 404. The immediate variant renders the 404 page from the admin panel there
in every language, so every page carries it in its HTML (404 = home page with 2 languages: home page HTML