wip: ricraf polyfill
This commit is contained in:
1 parent
8b0d04ce58
commit
59219b9ef2
4 files changed
+34
-1727
No files matched your search
@@ -28,25 +28,6 @@ static APP: FC<()> = |cx| {
|
||||
cx.render(rsx! {
|
||||
div {
|
||||
button { onclick: move |_| count += 1, "add" }
|
||||
div {
|
||||
div {
|
||||
div {
|
||||
div {
|
||||
div {
|
||||
Fragment {
|
||||
a {"wo"}
|
||||
p {"wo"}
|
||||
li {"wo"}
|
||||
em {"wo"}
|
||||
}
|
||||
}
|
||||
}
|
||||
Child {}
|
||||
}
|
||||
Child {}
|
||||
}
|
||||
Child {}
|
||||
}
|
||||
ul {
|
||||
{(0..*count).map(|f| rsx!{
|
||||
li { "a - {f}" }
|
||||
@@ -54,6 +35,7 @@ static APP: FC<()> = |cx| {
|
||||
li { "c - {f}" }
|
||||
})}
|
||||
}
|
||||
Child {}
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user