fix: conditional sibling islands DOM order (#1324)

This commit is contained in:
Marvin Hagemeister
2023-06-26 13:57:05 +02:00
committed by GitHub
parent 62aaffa314
commit 2b92b1c526
6 changed files with 113 additions and 23 deletions
@@ -0,0 +1,14 @@
import IslandConditional from "../islands/IslandConditional.tsx";
import BooleanButton from "../islands/BooleanButton.tsx";
import { signal } from "@preact/signals";
const show = signal(false);
export default function Page() {
return (
<div id="page">
<IslandConditional show={show} />
<BooleanButton signal={show} />
</div>
);
}