yew-html-ext 0.3.2

Handy syntactic extensions for Yew's HTML macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use ::yew_html_ext::html;

fn compile_fail() {
    html! { if {} };
    html! { if 42 {} };
    html! { if true {} else };
    html! { if true {} else if {} };
    html! { if true {} else if true {} else };
    html! { if true {} else if true {} else };
}

fn main() {}