Expand description
Utilities for hydration support.
Modules
Utilities for client-side hydration in the browser.
Structs
A manager for the current hydration state.
Functions
Returns a tuple of the current component id and the current hydration key.
Returns a tuple of the current component id and the current hydration key.
Increments the hydration key.
Increments the hydration component id, calls the callback, and resets the component id to
previous value.
Returns
true
if hydration has completed.Render a
View
under a parent
node by reusing existing nodes (client side
hydration). Alias for hydrate_to
with parent
being the <body>
tag.Run the closure inside a hydration context. If already inside a hydration context, creates a
nested context.
Run the async future inside a hydration context. If already inside a hydration context, creates
a nested context.
Run the closure without a hydration context. If called within an hydration context, the old
hydration context is restored when the closure returns.