feat: conditionals and iterators in rsx
This commit is contained in:
1 parent
cd93e469e2
commit
6b473cbdc5
3 files changed
+132
-4
No files matched your search
@@ -245,7 +245,11 @@ impl<'a> DynamicContext<'a> {
|
||||
quote! { ::dioxus::core::TemplateNode::Text(#text) }
|
||||
}
|
||||
|
||||
BodyNode::Text(_) | BodyNode::RawExpr(_) | BodyNode::Component(_) => {
|
||||
BodyNode::RawExpr(_)
|
||||
| BodyNode::Text(_)
|
||||
| BodyNode::ForLoop(_)
|
||||
| BodyNode::IfChain(_)
|
||||
| BodyNode::Component(_) => {
|
||||
let ct = self.dynamic_nodes.len();
|
||||
self.dynamic_nodes.push(root);
|
||||
self.node_paths.push(self.current_path.clone());
|
||||
|
||||
Reference in new issue
Block a user