wip: enable more diffing
This commit is contained in:
1 parent
b5e5ef171a
commit
e8f29a8f8a
26 files changed
+1326
-367
No files matched your search
@@ -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}
|
||||
}
|
||||
})
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
// mod iterator;
|
||||
// mod memo;
|
||||
mod iterators;
|
||||
mod listener;
|
||||
mod memo;
|
||||
|
||||
fn main() {}
|
||||
@@ -1,2 +0,0 @@
|
||||
mod iterator;
|
||||
mod memo;
|
||||
Reference in new issue
Block a user