Closed andyyxw closed 1 year ago
这里使用let与const有区别吗,是刻意的吗?
let
const
为什么useEffect中没有clearInterval呢?
useEffect
clearInterval
不是刻意的,可以用const的
这里是需要加clearInterval
谢谢你的问题,以上已更新到blog,期待新的问题
这里使用
let
与const
有区别吗,是刻意的吗?