react clear timeout when component unmounts

前端 未结 0 579
孤独总比滥情好
孤独总比滥情好 2021-01-15 09:12

const SlideShow = () => {

const [status, setStatus] = useState(false)
let counterIndex = 0;
const slideShow = () => {
    let screenWidth = window.scree         


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