import { R } from "@/reffuse" import { createFileRoute } from "@tanstack/react-router" import { Ref } from "effect" export const Route = createFileRoute("/count")({ component: Count }) function Count() { const runSync = R.useRunSync() const countRef = R.useRef(0) const [count] = R.useRefState(countRef) return (