export default function Home() {
const [count, setCount] = useState(0)
return <div><button onClick={() => setCount(count + 1)}>{count}</button></div>
}interface Props {
title: string
}
function Card({ title }: Props) {
return <div>{title}</div>
}const data = useMemo(() => {
return expensiveComputation()
}, [dependency])