wip: ricraf polyfill

This commit is contained in:
Jonathan Kelley committed 2021-08-24 16:36:00 -04:00
1 parent 8b0d04ce58
commit 59219b9ef2
4 files changed
+34 -1727

No files matched your search

+1 -19
View File
@@ -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 {}
}
})
};