Module sycamore::generic_node::hydrate_dom[][src]

Expand description

Rendering backend for the DOM with hydration support.

Structs

Rendering backend for the DOM with hydration support.

Functions

Render a View under a parent node by reusing existing nodes (client side hydration). Alias for hydrate_to with parent being the <body> tag.

Render a View under a parent node, in a way that can be cleaned up. This function is intended to be used for injecting an ephemeral sycamore view into a non-sycamore app (for example, a file upload modal where you want to cancel the upload if the modal is closed).

Render a View under a parent node by reusing existing nodes (client side hydration). For rendering under the <body> tag, use hydrate_to instead.