-
Sorry, I could not think of a better short title. I am trying to make a list widget kind of thing, which accepts a few components from caller. Since But I got problem at html! {<div>
{self.contents.iter().map(|content| {
html! {<div> {content} </div>} // Error here as VNode does not implement Display
}).collect()}
</div>} What is the way to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
Magicloud
Feb 7, 2022
Replies: 1 comment
-
Silly me, missed the reference part. It is |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Magicloud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Silly me, missed the reference part. It is
&VNode
that breaks.