Commit 6305aa4
No self closing component It looks like self closing tags cause problems in html.
Changed files (1)
Diff
@@ -14,8 +14,8 @@ impl Component for Main { impl Main { fn render(&self, element: HtmlElement) { let content = html! {{- <div><counter-component count="1" /></div>- <div><counter-component count="42" /></div>+ <counter-component count="1"></counter-component>+ <counter-component count="42"></counter-component> }}; element.set_inner_html(content.as_str());