feat: allow ifchains and for loops
This commit is contained in:
1 parent
2dd2d7fe66
commit
6cd87796f2
6 files changed
+82
-29
No files matched your search
@@ -0,0 +1,13 @@
|
||||
rsx! {
|
||||
// Does this work?
|
||||
for i in b {
|
||||
// Hey it works?
|
||||
div {}
|
||||
}
|
||||
|
||||
// Some ifchain
|
||||
if a > 10 {
|
||||
//
|
||||
rsx! { div {} }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user