For instance, if I use renderComponent to render to a DOM node, then delete the DOM node manually, did I just leak memory? Is the React component which was rendered to the deleted DOM node pruned?
You probably leaked memory. Use React.unmountComponentAtNode(node)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With