Feat: building large apps, revamp macro

This commit is contained in:
Jonathan Kelley committed 2021-03-22 23:52:54 -04:00
1 parent 5791e49700
commit 9f7f43b661
20 files changed
+386 -293

No files matched your search

+2 -2
View File
@@ -58,11 +58,11 @@ impl ToTokens for HtmlRender {
// create a lazy tree that accepts a bump allocator
let final_tokens = quote! {
move |ctx| {
dioxus::prelude::LazyNodes::new(move |ctx| {
let bump = ctx.bump;
#new_toks
}
})
};
final_tokens.to_tokens(out_tokens);