handle iterators and nested rsx calls

This commit is contained in:
Evan Almloff committed 2022-05-27 12:21:12 -05:00
1 parent f703347936
commit 3c7db0631b
4 files changed
+40 -18

No files matched your search

+5
View File
@@ -34,6 +34,11 @@ fn app(cx: Scope) -> Element {
Comp{
color: "green"
}
{
(0..10).map(|i| {
cx.render(rsx!{p{"{i}"}})
})
}
}
})
}