You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We prohibit public items without documentation by setting a crate attribute, so when this was added it was #[doc(hidden)] to allow the crate to compile.
error[E0277]: the trait bound `yew::virtual_dom::VChild<example::Container>: std::convert::From<yew::virtual_dom::VNode>` is not satisfied
--> webui/src/example.rs:37:21
|
37 | for(1..10_i32).map(|item| {
| _____________________^
38 | | html!{39 | | <Container/>
40 | | }41 | | })
| |__________________^ the trait `std::convert::From<yew::virtual_dom::VNode>` is not implemented for `yew::virtual_dom::VChild<example::Container>`
|
= note: required because of the requirements on the impl of `std::convert::Into<yew::virtual_dom::VChild<example::Container>>` for `yew::virtual_dom::VNode`
= note: this error originates in a macro(in Nightlybuilds, run with -Z macro-backtrace for more info)
This is about:
Problem
#843 introduces a macro
html_nested!
that adds support for iterable nested children access.There is no documentation on yew.rs for the the
html_nested!
macroMacro is currently hidden from docs
because
Example - faulty code using
html!
above code gives the error:
To fix, use
html_nested!
The text was updated successfully, but these errors were encountered: