Commit 063ee43
docs(integrations): clarify entry accepts any fragment key + FAST-v3 wrapper requirement
Two small clarifications carried forward from the discussion on #299
(which was closed in favour of inline updates rather than a separate
recipe page):
1. Both Node and Rust integration pages now explicitly state that
`entry` / `entry_id` accepts any fragment key, not just
`"index.html"`. Adds a 'webui inspect' pointer for listing the
valid keys in a built protocol.
2. Calls out the FAST-v3 wrapper-file requirement: an
`<f-template name="...">` block lives in the protocol's
component map (not the fragment map), so it cannot be passed as
`entry` directly. Adopters trying to render a single FAST-v3
component into an embedded host were hitting MissingFragment and
had to read source to figure out why.
Also adds a one-line distinction between `render_partial` (returns
JSON for the WebUI client-side router during in-app navigation) and
`render` / `WebUIHandler::handle` with `entry` (returns raw HTML
for a non-WebUI host), since these two APIs were being conflated and
the existing docs don't make the distinction explicit.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9fc32fb commit 063ee43
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
250 | 260 | | |
251 | 261 | | |
252 | 262 | | |
| |||
0 commit comments