From 3ea1da3c66096156a554fcefa3338da6c70a4510 Mon Sep 17 00:00:00 2001 From: Aaron Sachs Date: Mon, 17 Aug 2026 12:04:21 -0400 Subject: [PATCH] docs(loops): document the server-rendered loop page query parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An infinite-mode loop already renders any page of its own results from `?loop__page=N` — loopPrefetch.ts builds and reads the param, and publicRouter.ts routes requests carrying it past the Layer A artefact into a live render. The parameter is documented today only as a cache-invalidation input, in architecture.md, server.md, publisher.md and reference/architecture-tests.md. features/loops.md — the doc a page author reads, and the one that describes the pagination modes — never mentions it, and its Pagination section instead recommends a manual one-loop-node-per-page workaround for exactly the case the parameter already covers. Documents the parameter with its four real constraints (infinite-only, no contextual sources, empty render past the end, no exposed total) so the section does not promise a numbered paginator the runtime cannot support. --- docs/features/loops.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/features/loops.md b/docs/features/loops.md index 88dd46306..ccc5d3bd5 100644 --- a/docs/features/loops.md +++ b/docs/features/loops.md @@ -459,8 +459,36 @@ To enable infinite loading: 3. The publisher auto-injects `