topcoat 0.8.1

A modular, batteries-included Rust web framework for server-rendered apps.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This module provides Topcoat's HTML templating primitives:

- [`view!`]: the HTML-like templating macro.
- [`#[component]`][`component`]: turns an async function into a reusable component with typed props and child content.
- [`attributes!`]: builds a reusable runtime [`Attributes`] value from the same attribute syntax used inside [`view!`].
- [`class!`]: space-separated class lists from static and conditional entries.
- [`live!`] and [`emit!`]: live regions that stream replacement content into a page after it reached the browser.
- [`suspense`] and [`error_boundary`]: components that stream child content in behind a fallback, built on the live macros.

[`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