Trying to call function in componentWillUnmount REACT-NATIVE

后端 未结 0 1897
轮回少年
轮回少年 2020-12-20 13:01

im building a music player, and when the user closes the app, for that Im running this in componentWillUnmount:

mounted = false;

componentDidMount() {
    th         


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