Type Definition perseus::HeadFn

source · []
pub type HeadFn = TemplateFn<SsrNode>;
Expand description

A type alias for the function that modifies the document head. This is just a template function that will always be server-side rendered in function (it may be rendered on the client, but it will always be used to create an HTML string, rather than a reactive template).