Merge pull request #1810 from DioxusLabs/jk/disambiguate-exprs-in-rsx

Disambiguate if expressions in rsx by requiring curlies, allow shorthand component/element initialization
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-01-11 12:25:59 -08:00
commit f7bf156422
81 files changed
+868 -649

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ fn check_html_renders(cx: Scope) -> Element {
h1 {
"text"
}
dyn_element
{dyn_element}
}
}
}