← all corpora

preact

reference corpus · status live · domain WEB (Web and frontend platform) · lane A · refresh pinned · tags GLOBAL · PREACT · VIRTUAL-DOM · RECONCILER · HOOKS · REACT-COMPAT

What an agent uses it for

An agent wanting a compact React-compatible VDOM queries this for Preact's small diff/reconciler and hooks implementation.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/preact.json
xerj corpus add --from ./preact.json
xerj corpus index preact then xerj code preact "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "preact", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
preact 8ff8785bac07MIT 1.6 MB / 303 files licence host-verified (ok-spdx): MIT

1.6 MB across 303 files. Added 2026-10-13.

Rights

MIT. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.