sycamore::web

Function hydrate_to

pub fn hydrate_to(view: impl FnOnce() -> View, parent: &Node)
Expand description

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

For rendering under the <body> tag, use hydrate instead. For rendering without hydration, use render instead.