换成Function Component 的思维吧!试着用上刚才提到的useCallback 解决问题: function Parent() { const [ count, setCount ] = useState(0); const [ ...
確定! 回上一頁