import { useEffect } from "preact/hooks"; import { useSignal } from "@preact/signals"; export function EscapeIsland(_props: { str: string }) { const active = useSignal(false); useEffect(() => { active.value = true; }, []); return (