sycamore::web

Function hydrate

pub fn hydrate(view: impl FnOnce() -> View)
Expand description

Render a View under a parent node by reusing existing nodes (client side hydration).

Alias for hydrate_to with parent being the <body> tag. For rendering without hydration, use render instead.