wip: move everything over to a stack dst
This commit is contained in:
1 parent
12a9758c3c
commit
0e9d5fc530
36 files changed
+224
-185
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user