wip: implement lazy nodes properly

This commit is contained in:
Jonathan Kelley committed 2021-11-01 02:41:23 -04:00
1 parent 7b97e009ec
commit 3e07214272
7 files changed
+47 -67

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ pub static EXAMPLE: FC<()> = |(cx, _)| {
});
// let list = (0..10).map(|_f| Some(Box::new(move |_f| todo!())));
cx.render(Some(Box::new(move |cx| {
cx.render(Some(LazyNodes::new(move |cx| {
cx.raw_element(
"div",
None,