Back to directory

llms.txt status

Preact

Category
Frameworks
Document type
Reference
Language
English
Available files
1
Last verified
Listed on

Documentation sites and files

Site

官方文档

Primary site

Documentation scope https://preactjs.com/

  • llms.txt index

    Expected role: llms.txt indexObserved from content: llms.txt index
    https://preactjs.com/llms.txtOpen (opens in a new window)
    Latest successful verification
    Verified
    Recently verified
    Proposal compliance
    Warnings
    Practical usability
    Pass
    Letter grade
    A-Rating score 91S A- · U A+ · L A+Rules v1 · observed 2026-11-23

    View the full report

    Latest attempt · current status
    Status
    Completed
    Attempted
    Coverage
    Link check: total 5 / sampled 5 / completed 5Rule: Full check (within budget)
    Token estimate
    about 48,601 tokens[email protected] cl100k_base (sampled estimate: extrapolated by byte ratio from 2048 characters each at the start and the middle)
    Decoded size
    216.2 KB
    Links
    5
    Sections
    5
    Link health details (5 observations)
    File structure

    Snapshot 2026-11-23Report cmwsddon

    Preact Documentation

    Tip: HTM also provides a convenient single-import Preact version:import { html, render } from 'https://esm.sh/htm/preact/standalone'

    Sections 5/55 entriesLinks sampled 5/5

    • Introduction×0
    • Essentials×2
    • Debug & Test×3
    • Advanced×0
    • Libraries×0

    Entries are counted by unique URL; a URL repeated across sections counts once. The number after each section is the entries first attributed to it.

    Proposal issue excerpts

    • MinorSPEC_SECTION_DEPTHSource line 139

      H3 or deeper headings are present (sections should be H2)

      ###### Aliasing in Webpack
    • MinorSPEC_ENTRY_NOT_LINKSource line 291

      A list item contains no link (the proposal’s entry format is - [name](url): description); 64 items in the whole file

      - Chrome >= 71
    • MinorSPEC_ENTRY_NOT_LINKSource line 292

      A list item contains no link (the proposal’s entry format is - [name](url): description); 64 items in the whole file

      - Safari >= 12.1
    • MinorSPEC_ENTRY_NOT_LINKSource line 293

      A list item contains no link (the proposal’s entry format is - [name](url): description); 64 items in the whole file

      - Firefox >= 69
    • MinorSPEC_ENTRY_NOT_LINKSource line 294

      A list item contains no link (the proposal’s entry format is - [name](url): description); 64 items in the whole file

      - Edge >= 79

    Copyright in the source text belongs to its source (which may be a third-party maintained site). The snapshot is not live; the above is the content at the time of the check.

Logo from SVGL (MIT-licensed repository; graphics and trademarks belong to their owners); observed . Trademarks belong to their owners; this site displays them only to identify listed entries.

Model reading simulation

DeepSeek-V4.1-Flash

We gave this llms.txt to DeepSeek-V4.1-Flash and asked it to read the file the way a model would when it has to answer questions with it. Below is the reading it wrote. It saw only the file itself and this site's check summary, and did not open any of the links in the file. This is a model-generated interpretation, not its internal reasoning; it has not been verified for accuracy or reviewed by a person. Different models and products read files differently, and this does not show how any AI product actually treats this website.

Spot an error? Email us

  • Source: https://preactjs.com/llms.txt
  • Reads the version fetched on 2026-11-09 05:44
  • Generated on 2026-11-09 05:45
  • A check on 2026-11-23 05:49 confirmed the file content is unchanged

Check facts (generated by the site):

  • 5 sections
  • 5 link entries
  • 216.2 KB
  • about 48,601 tokens (cl100k estimate)
  • no full-text version

Link sampling: 5 links, 5 sampled, 5 completed; 0 returned errors and 0 could not be determined because of rate limits, authentication, or timeouts (sample only)

What it thinks this is

  • I read it as a set of reference pages for Preact v11, written for people who are new as well as those already using it, spanning installation, building blocks, the hooks API, signals, test setups, output from a server, and typed code.Evidence: line 3, 4, 10, 281
  • It reads like topic-organized reference material with a weaker tutorial feel; I rely on headings and examples to navigate a long text.Evidence: line 8, 676, 4163, 6031

What it would extract

  • Purpose

    The opening states that this is a reference set for Preact v11, meant to span the library's main usage and its companion tools.Evidence: line 3, 4

  • Audience

    The intended readers include people starting out, those preparing to upgrade from an older release, and developers who need to troubleshoot.Evidence: line 10, 14, 281, 3466

  • Concept

    Most of the body deals with building blocks such as components, the hooks API, signals, reference values, shared context, and output produced on a server.Evidence: line 4, 678, 882, 1592, 3008, 3236, 4963

  • Version

    The file labels the version as v11.Evidence: line 3

  • Structure

    The body moves from getting-started material through essential building blocks, debugging and testing, advanced APIs, and library guides, with descriptions and code examples.Evidence: line 8, 676, 3464, 4163, 6031

  1. If I were new to this library, I would open the tutorial first because it sits at the front of the getting-started material.

    preactjs.com/tutorial (opens in a new window)line 14

  2. Next I would look at the Vite setup steps, which the file explicitly recommends to newcomers.

    preactjs.com/llms.txt#create-a-vite-powered-preact-app (opens in a new window)line 17

  3. Once past the component pages, I would read the hooks material to see how stateful logic and effects are arranged inside plain functions.

    preactjs.com/guide/v11/hooks (opens in a new window)line 707

  4. When I need to output the app from a server, I would start with the server rendering guide.

    preactjs.com/guide/v11/server-side-rendering (opens in a new window)line 4254

  5. If I wanted to hook into rendering for tooling or library work, I would open the page describing option callbacks.

    preactjs.com/guide/v11/options (opens in a new window)line 4450

  6. When I need to expose a component so that pages outside Preact can use it, I would start with the small wrapper library page.

    github.com/preactjs/preact-custom-element (opens in a new window)line 6492

How it could answer questions

Answered by the file itself

  • What does the file say Preact is?Evidence: line 3, 4
  • How do I scaffold a project with Vite and then run the local dev server?Evidence: line 72, 75, 84, 91
  • Which changes does the v11 upgrade material mention?Evidence: line 279, 306, 314, 363, 410, 422
  • What config makes code that imports React resolve to the compat package instead?Evidence: line 135, 137, 141, 150, 161, 191
  • What is the difference in event handling compared with React?Evidence: line 517, 522, 523, 625, 635

Needs a link to be opened

Where it would get stuck or misread

  1. Issue 1Check findingSuggestion 1 ↓

    The checker flags deep section levels and mentions plain-text entries rather than links; when reading description lines and deep headings, I need extra judgement about which parts are navigable.Evidence: line 10, 139, 678

  2. Issue 2Ambiguous entrySuggestion 2 ↓

    Link text such as “over here” does not say what the target contains, so I have to return to the surrounding sentence to know it points to an example.Evidence: line 1791

  3. Issue 3Internal namingSuggestion 3 ↓

    The file uses Option Hooks for rendering callbacks and explains how it differs from ordinary hooks; these names can blur together while reading.Evidence: line 5168

  4. Issue 4Not coveredSuggestion 4 ↓

    In what I read, I did not see deployment steps for a specific hosting platform.Evidence: line 97, 105

Changes that would help a model read it

  1. In this reading, the model suggests: For issue 1 ↑

    I would add brief summaries beside deep headings and give each entry a clear link so I can judge the entry point.

  2. In this reading, the model suggests: For issue 2 ↑

    I would replace vague link text with a phrase describing the target, for example saying that it leads to an example app.

  3. In this reading, the model suggests: For issue 3 ↑

    On first use, I would add a brief note distinguishing rendering callbacks from component hooks and keep the naming consistent afterwards.

  4. In this reading, the model suggests: For issue 4 ↑

    I would add deployment notes for common hosting platforms or state how the build output can be delivered.

Change timeline

A read-only record driven by the differences between successive check reports. A single timeout does not count as a change, and links that were not sampled take no part in the conclusion.

  1. No structural changesProposal WARN

    https://preactjs.com/llms.txt

    View report
  2. No structural changesProposal WARN

    https://preactjs.com/llms.txt

    View report
  3. Content changed (hash level; no structural differences)Proposal WARN

    https://preactjs.com/llms.txt

    View report
  4. No structural changesProposal WARN

    https://preactjs.com/llms.txt

    View report
  5. Content changed (hash level; no structural differences)Proposal WARN

    https://preactjs.com/llms.txt

    View report
  6. No structural changesProposal WARN

    https://preactjs.com/llms.txt

    View report
  7. No structural changesProposal WARN

    https://preactjs.com/llms.txt

    View report
  8. Content changed (hash level; no structural differences)Proposal WARN

    https://preactjs.com/llms.txt

    View report
  9. No content diff for this check (first check, or no valid baseline)Proposal WARN

    https://preactjs.com/llms.txt

    View report