fix collapsing of multiline components and rsx!{} calls (#2849)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-08-15 17:03:58 -07:00
1 parent 40dc14389e
commit c21b44a4e6
5 files changed
+48 -13

No files matched your search

@@ -0,0 +1,21 @@
// nesting pushes out
rsx! {
Fragment {
Fragment {
Fragment {
Fragment {
Fragment {
div { "Finally have a real node!" }
}
}
}
}
}
}
// we don't make extra spaces
rsx! {
Component { blah: rsx! {} }
}
rsx! {}