Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak when passing a signal content to a component props #539

Open
ArturSharapov opened this issue Mar 23, 2024 · 0 comments
Open

Comments

@ArturSharapov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant