wip: move everything over to a stack dst

This commit is contained in:
Jonathan Kelley committed 2021-10-29 17:12:30 -04:00
1 parent 12a9758c3c
commit 0e9d5fc530
36 files changed
+224 -185

No files matched your search

+4 -4
View File
@@ -14,7 +14,7 @@ mod test_logging;
#[test]
fn please_work() {
static App: FC<()> = |(cx, props)| {
cx.render(rsx! {
rsx! {
div {
hidden: "true"
"hello"
@@ -24,13 +24,13 @@ fn please_work() {
Child {}
}
div { "hello" }
})
}
};
static Child: FC<()> = |(cx, props)| {
cx.render(rsx! {
rsx! {
div { "child" }
})
}
};
let mut dom = VirtualDom::new(App);