Shell

tcmts.cli.web.Shell · #dvtqayr5 · type

A page's shell, rendered ahead (#7svoiw35): its HTML up to what's live, what React left to render (postponed, as JSON: a request resuming it uses up the object; null when nothing is left), and the trees the shell's server components rendered.

import type { SsrRequest } from "#codebase/tcmts/cli/web";

export interface Shell {
  html: string;
  postponed: string | null;
  trees: SsrRequest["trees"];
}

uses

used by