... save the callback in a mutable ref }); useEffect(() => { function tick() { // can always access the most recent callback value without callback dep ...
確定! 回上一頁