Function sycamore::generic_node::hydrate_dom::hydrate [−][src]
pub fn hydrate(template: impl FnOnce() -> View<HydrateNode>)
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.
This API requires the following crate features to be activated: experimental-hydrate
, dom