Module silkenweb::hydration

source ·
Expand description

Hydrate the document with event handlers.

“Hydrating” an element will attach any event handlers to the existing document HTML. This allows you render HTML on the server and produce an initial page that non-wasm clients can view, whilst wasm-enabled clients still have a fully interactive app. See hydrate for more details on how this is done.

Structs§

Functions§