component generator

This commit is contained in:
2026-01-30 19:29:52 +01:00
parent 1f64b4f6e2
commit e85257a10e
6 changed files with 125 additions and 32 deletions
+2 -2
View File
@@ -51,14 +51,14 @@ fn emit_node_scope(node: &RsxNode) -> TokenStream {
RsxNode::Text(_) => {
let emit = emit_node(node);
quote! {
r.static_scope(|scope| {#emit});
r.static_scope(move |scope| {#emit});
}
}
RsxNode::Component(_) => {
let emit = emit_node(node);
quote! {
r.static_scope(|scope| {#emit});
r.static_scope(move |scope| {#emit});
}
}