wip: enable more diffing

This commit is contained in:
Jonathan Kelley committed 2021-07-05 01:11:49 -04:00
1 parent b5e5ef171a
commit e8f29a8f8a
26 files changed
+1326 -367

No files matched your search

+9 -1
View File
@@ -2,9 +2,17 @@ use dioxus::prelude::*;
fn main() {}
static Example: FC<()> = |cx| {
let (g, set_g) = use_state(&cx, || 0);
let v = (0..10).map(|f| {
rsx! {
li {
onclick: move |_| set_g(10)
}
}
});
cx.render(rsx! {
div {
{v}
}
})
};
+7
View File
@@ -0,0 +1,7 @@
// mod iterator;
// mod memo;
mod iterators;
mod listener;
mod memo;
fn main() {}
-2
View File
@@ -1,2 +0,0 @@
mod iterator;
mod memo;