sweetalert-with-react icon indicating copy to clipboard operation
sweetalert-with-react copied to clipboard

Does not appear to call unmountComponentAtNode

Open KMarshland opened this issue 5 years ago • 0 comments

This library should call unmountComponentAtNode in order to fix a memory leak.

The react team states "This is important and often forgotten. Forgetting to call unmountComponentAtNode will cause your app to leak memory. There is no way for us to automatically detect when it is appropriate to do this work. Every system is different." (source)

This is necessary even though the element is removed.

KMarshland avatar May 20 '20 23:05 KMarshland