Feat: building large apps, revamp macro
This commit is contained in:
1 parent
5791e49700
commit
9f7f43b661
20 files changed
+386
-293
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user