Function HydrationScript
pub fn HydrationScript() -> View
Expand description
Component that creates a script element for bootstrapping hydration. Should be rendered into
the <head>
of the document.
This component is required if using SSR in blocking or streaming mode.
TODO: use this component to also capture and replay events. This requires synthetic event delegation: https://github.com/sycamore-rs/sycamore/issues/176