diff --git a/solid-v2/with-tsrx/AGENTS.md b/solid-v2/with-tsrx/AGENTS.md index 7a5813a0..86c3248b 100644 --- a/solid-v2/with-tsrx/AGENTS.md +++ b/solid-v2/with-tsrx/AGENTS.md @@ -24,7 +24,7 @@ Name your signals/memos/effects (the `{ name: "..." }` option) — attribution r ## TSRX modules (`.tsrx`) -This template authors the app in experimental TSRX wherever tooling allows: `src/App.tsrx`, `src/Document.tsrx`, and `src/components/*.tsrx`. Rules that differ from `.tsx`: +This template authors the whole app in experimental TSRX: `src/App.tsrx`, `src/Document.tsrx`, `src/components/*.tsrx`, and every route module under `src/routes`. Rules that differ from `.tsx`: - The extension is the opt-in: import with it spelled out (`./Counter.tsrx`). The Vite plugin compiles these automatically; no config. - A function body can be a statement container: `function C(props) @{ setup; }` — TypeScript statements first, then exactly one rendered output node (use a fragment for siblings). @@ -32,5 +32,5 @@ This template authors the app in experimental TSRX wherever tooling allows: `src - A `