prefresh icon indicating copy to clipboard operation
prefresh copied to clipboard

Memory leak when passing a signal content to a component props

Open ArturSharapov opened this issue 11 months ago • 0 comments

A minimal reproduction of a memory leak when passing a signal's value (content) to a component as a prop. https://stackblitz.com/edit/vitejs-vite-gxocdd?file=src%2Fapp.tsx

I used setInterval for the reproduction, but in more realistic cases we would usually have some scroll or wheel event listeners which make the same load. These MBs are not and cannot be garbage collected: image

ArturSharapov avatar Mar 23 '24 22:03 ArturSharapov