Skip to main content

PRERENDERED_ATTR

Constant PRERENDERED_ATTR 

Source
pub const PRERENDERED_ATTR: &'static str;
Expand description

The attribute a pre-rendered document’s <body> carries: its markup is the page’s own first paint, which the mount adopts (vdHydrate) rather than clearing and drawing again. Written by the build’s pre-render, read by the mount, and taken off by the host as the hydration opens.