fetchContent
fetchContent(
target,options?):Promise<ContentSnapshot|null>
Defined in: client.ts:107
Fetch the first-paint content.
Content-first, rewrite-once: this is what the SDK paints BEFORE any stream
exists, so there is never a skeleton on screen. If it fails, the consumer’s
fallback prop is what stands in — which is why that prop is required
rather than optional.
Parameters
Section titled “Parameters”target
Section titled “target”options?
Section titled “options?”fetchImpl?
Section titled “fetchImpl?”(input, init?) => Promise<Response>
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<ContentSnapshot | null>