fix: conditionally rendered element under fragment in island does not render (#1172)
This might be fixing #502, but I am not sure. All tests pass. I've added additional test cases for comments from #502 --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import RootFragment from "../../islands/RootFragment.tsx";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div id="island-parent">
|
||||
<RootFragment />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import RootFragmentWithConditionalFirst from "../../islands/RootFragmentWithConditionalFirst.tsx";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div id="island-parent">
|
||||
<RootFragmentWithConditionalFirst />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user