In a class component, a classic way to do it is to keep an isMounted flag on the component instance, and update it in componentDidMount and ...
確定! 回上一頁