function Parent() { const [count, setCount] = useState(0); const onClick = useCallback(() => { console.log('click'); }, []); return ( <> <Foo ...
確定! 回上一頁