This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.
yew

Macro html

Source
html!() { /* proc-macro */ }
Expand description

This macro implements JSX-like templates.

This macro always returns Html. If you need to preserve the type of a component, use the html_nested! macro instead.

More information about using the html! macro can be found in the Yew Docs