wip: begint to accept iterator types

This commit is contained in:
Jonathan Kelley committed 2021-03-18 18:54:26 -04:00
1 parent f24d29130a
commit 742f150eb3
11 files changed
+528 -143

No files matched your search

+6 -6
View File
@@ -48,13 +48,13 @@ mod tests {
#[test]
fn ensure_creation() -> Result<(), ()> {
static Example: FC<()> = |ctx, props| {
//
ctx.render(html! { <div> "hello world" </div> })
};
// static Example: FC<()> = |ctx, props| {
// //
// ctx.render(html! { <div> "hello world" </div> })
// };
let mut dom = VirtualDom::new(Example);
let machine = DiffMachine::new();
// let mut dom = VirtualDom::new(Example);
// let machine = DiffMachine::new();
Ok(())
}