useEffect hook using outdated variables in child functions

后端 未结 0 1211
死守一世寂寞
死守一世寂寞 2020-12-05 12:28

I am trying to use the useEffect hook as a way to create an async timer in react. The logic is inside of timeFunc(), and the useEffect is working such that it calls the func

相关标签:
回答
  • 消灭零回复
提交回复
热议问题