Function sycamore::hydrate_to

pub fn hydrate_to(view: impl FnOnce() -> View<HydrateNode>, 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.

This API requires the following crate features to be activated: hydrate, dom