admin管理员组文章数量:1201025
I was looking into the 'componentWillUnmount' method in this page .asp?filename=demo2_react_lifecycle_componentwillunmount
The issue which I noticed is that componentWillUnmount lifecycle method of child component getting triggered even after the component got unmounted. If I click on the button for a second time, the child component's lifecycle method getting triggered. but I am not sure how! Is it the correct behavior?
版权声明:本文标题:reactjs - componentWillUnmount getting triggered from a component which is already unmounted - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738560829a2099199.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论