handle iterators and nested rsx calls
This commit is contained in:
1 parent
f703347936
commit
3c7db0631b
4 files changed
+40
-18
No files matched your search
@@ -34,6 +34,11 @@ fn app(cx: Scope) -> Element {
|
||||
Comp{
|
||||
color: "green"
|
||||
}
|
||||
{
|
||||
(0..10).map(|i| {
|
||||
cx.render(rsx!{p{"{i}"}})
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user