We just created an HOC which has the _isMounted property. The HOC adds a callIfMounted() method which executes the callback if still mounted
1 Like
We just created an HOC which has the _isMounted property. The HOC adds a callIfMounted() method which executes the callback if still mounted