feat: reduce number of island bundles (#2082)

This commit is contained in:
Marvin Hagemeister
2023-11-28 17:23:27 +01:00
committed by GitHub
parent ef26451dc6
commit 325850719a
33 changed files with 302 additions and 142 deletions
@@ -0,0 +1,12 @@
import { useSignal } from "@preact/signals";
export default function Single() {
const sig = useSignal(0);
return (
<div class="island single">
<p>Single Island: {sig}</p>
<button onClick={() => sig.value += 1}>update</button>
</div>
);
}