sycamore::web

Function generate_hydration_script

pub fn generate_hydration_script(mode: SsrMode) -> &'static str
Expand description

Generate a script element for bootstrapping hydration.

In general, prefer using HydrationScript instead.