import { Signal, useSignalEffect } from "@preact/signals" import { Address } from "$/apps/source"; import { memo, useEffect } from "preact/compat"; export const Browser = memo(function Browser({ source, title, contentReady }: Browser.Props) { useEffect(() => { contentReady.value = true }, []) useSignalEffect(() => { title.value = `${source.value.link} - internet exploder`; }) return }) namespace Browser { export type Props = { source: Signal
, title: Signal