Thank you everyone for the inspiring feedback!

stdweb helped me very much! Thanks to koute!

Near future I will improve the framework: check benchmarks, try to cover it with tests and adapt to another targets. So far I’ve tested it with asmjs target and have to check more.

Some words about error messages. In the current implementation I can’t check everything during comilation, but I will improve it as possible. Some examples below.

First case: If I tried to use float as href attribute (error during comilation):

Compiling counter v0.1.0 (file:///home/denis/yew/examples/counter) error[E0277]: the trait bound `yew::html::Href: std::convert::From<{float}>` is not satisfied --> src/main.rs:29:5 | 29 | / html! { 30 | | <div> 31 | | <nav class="menu", href=0.1,> 32 | | <button onclick=|_| Msg::Increment,>{ "Increment" }</button> ... | 37 | | </div> 38 | | } | |_____^ the trait `std::convert::From<{float}>` is not implemented for `yew::html::Href` | = help: the following implementations were found: <yew::html::Href as std::convert::From<std::string::String>> <yew::html::Href as std::convert::From<&'a str>> = note: required because of the requirements on the impl of `std::convert::Into<yew::html::Href>` for `{float}` = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

Second case: if I forgot the closing tag (error during runtime):

<nav class="menu",> <button onclick=|_| Msg::Increment,>{ "Increment" }</button> <button onclick=|_| Msg::Decrement,>{ "Decrement" } </nav>

It fires error on start in the browser’s console: