template!() { /* proc-macro */ }
Expand description
An optimized, cached template for client-side rendering. Follows the same
syntax as the view! macro. In hydration or server-side rendering mode,
behaves exactly as the view
macro. In client-side rendering mode, uses a <template>
node to efficiently render the element. Should only be used with a single root element.