mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
feat: collapse rsx
This commit is contained in:
parent
9438cc14bc
commit
5d56326f74
1 changed files with 0 additions and 19 deletions
|
@ -88,24 +88,6 @@ impl Parse for Element {
|
|||
tokens: content.parse()?,
|
||||
},
|
||||
});
|
||||
// if content.fork().parse::<ExprClosure>().is_ok() {
|
||||
// //
|
||||
// attributes.push(ElementAttrNamed {
|
||||
// el_name: el_name.clone(),
|
||||
// attr: ElementAttr::EventClosure {
|
||||
// name,
|
||||
// closure: content.parse()?,
|
||||
// },
|
||||
// });
|
||||
// } else {
|
||||
// attributes.push(ElementAttrNamed {
|
||||
// el_name: el_name.clone(),
|
||||
// attr: ElementAttr::EventTokens {
|
||||
// name,
|
||||
// tokens: content.parse()?,
|
||||
// },
|
||||
// });
|
||||
// }
|
||||
} else {
|
||||
match name_str.as_str() {
|
||||
"key" => {
|
||||
|
@ -199,7 +181,6 @@ impl Parse for Element {
|
|||
name: el_name,
|
||||
attributes,
|
||||
children,
|
||||
// listeners,
|
||||
_is_static: false,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue