maple-core-macro 0.4.3

A VDOM-less web library with fine grained reactivity
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![allow(non_snake_case)]

use maple_core::prelude::*;

fn Component() -> TemplateResult {
    template! {
        div
    }
}

fn compile_fail() {
    template! { UnknownComponent() };

    template! { Component };
    template! { Component(1) };
}

fn main() {}