Build HTML with [`view!`] and define reusable components with [`#[component]`][`component`]. The [`view!`] guide introduces markup, Rust expressions, and rendering.
For content that loads slowly, [`suspense`] can show a fallback while the page streams. Use [`error_boundary`] to show a fallback when content fails to render.
[`view!`]: macro.view.html
[`component`]: attr.component.html
[`attributes!`]: macro.attributes.html
[`Attributes`]: struct.Attributes.html
[`class!`]: macro.class.html
[`live!`]: macro.live.html
[`emit!`]: macro.emit.html
[`suspense`]: struct.suspense.html
[`error_boundary`]: struct.error_boundary.html