Function sycamore::render_to_string

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

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

This API requires the following crate features to be activated: ssr