1 viewer
Back to Components
Component · Layout

LiveSlot

Progressive SSR slot with meaningful fallback children and optional live patch transport.

Category
Layout
Slots
3
States
3
Writer
Shared
cre8.primitive.live-slot

Preview

Live renderShared SSR + WASM writers

Stream fallback content; no live source is attached to this example.

<LiveSlot slotId="live-demo-slot">
  <Text
    text="Stream fallback content; no live source is attached to this example."
    variant="p"
  />
</LiveSlot>

Anatomy

The named parts of the rendered markup. Recipes style these hooks, and every renderer keeps them stable.

SlotDOM class
root.primitive-live-slot
fallback—
noscript.primitive-live-slot__noscript
refresh.primitive-live-slot__refresh
4 rows

States and platforms

The states the contract publishes, the platforms it declares, and the style recipes that dress it.

States
livestaleerror
Platforms
webnativeruntime-node
Recipes
unstyledruntime-console

Renderers

Shared writer
LiveSlot renders through the one writer the server and the WASM DOM share, so both emit the same markup.

Every tag in the example above renders through a shared writer.

Declared adapters. A status is the manifest's declaration, not a measured parity result.

TargetRendererStatus
webreactexperimental
runtime-nodeview-nodeready
ssrhtml-semanticready
terminalterminal-layoutplanned
nativenative-adapterexperimental
5 rows

Accessibility

Renders meaningful fallback content first, then lets a stream adapter progressively refresh the same region.

  • Fallback children must carry the same domain content a crawler or JavaScript-disabled browser should see.
  • When a stream is unavailable, refreshHref should point at a server-rendered snapshot route when one exists.