Function sycamore::hydrate_to
source · [−]pub fn hydrate_to(
view: impl FnOnce(BoundedScope<'_, '_>) -> 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_to
instead.
For rendering without hydration, use render
instead.
This API requires the following crate features to be activated: hydrate
, dom