wip: fix some bugs around the rsx macro

This commit is contained in:
Jonathan Kelley committed 2021-10-27 16:58:20 -04:00
1 parent 9f7eb0f600
commit 339e450027
4 files changed
+57 -69

No files matched your search

+1 -22
View File
@@ -8,31 +8,10 @@ use dioxus_html as dioxus_elements;
fn main() {}
fn html_usage() {
let r = html! {
<div>
"hello world"
<div>
</div>
<div />
"hello world"
<Fragment>
</Fragment>
</div>
};
let r = rsx! {
div {
onclick: move |_| {}
"hello world"
}
};
}
fn rsx_uage() {
// let r = html! {
// <Fragment>
// "hello world"
// "hello world"
// "hello world"
// "hello world"
// </Fragment>
// };
}