Memory leak when passing a signal content to a component props
ArturSharapov opened this issue · 0 comments
ArturSharapov commented
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: