rsx!() { /* proc-macro */ }
Expand description
Uses a function-style description to construct a ViewBuilder
.
This is easier for editors to format than html!
, leading to more natural
authoring.
ⓘlet my_div = mogwai_dom::rsx! {
div(id="main") {
p() {"Trolls are real"}
}
};