import { useSignal } from "@preact/signals"; import { Head } from "fresh/runtime"; import Counter from "../islands/Counter.tsx"; import { define } from "../utils.ts"; export default define.page(function Home(ctx) { const count = useSignal(3); console.log("Shared value " + ctx.state.shared); return (
Fresh counter
the Fresh logo: a sliced lemon dripping with juice

Welcome to Fresh

Try updating this message in the ./routes/index.tsx file, and refresh.

); });