title: Preventing memory leaks in react-konva
body: <p>The Konva library has a <a href="https://konvajs.org/docs/performance/All_Performance_Tips.html" rel="nofollow noreferrer">helpful list of performance optimizations</a>. I am writing an application using react-konva and would like to specifically know if there is any work to be done when a component is unmounted to prevent memory leaks. Do I need to destroy() any konva elements for cleanup?</p>