sycamore

Function render_to_string

pub fn render_to_string(view: impl FnOnce() -> View) -> String
Expand description

Render a View into a static String. Useful for rendering to a string on the server side.