React useEffect cleanup not working when app is reopen

前端 未结 0 1811
终归单人心
终归单人心 2020-12-08 05:26

I\'m having a problem with useEffect cleanup it does\'t work when reopening the app. Here\'s my code.

useEffect(() => {
    let { status, data } = state
           


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