How to check if a component is unmounted/destroyed?

前端 未结 0 1476
生来不讨喜
生来不讨喜 2021-01-21 10:41

Here\'s a simple scenario. In my component a user sends a request to the server. The component has a callback that runs when the request fails. The error callback shows the user

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