Skip to content

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

Description

@ArturSharapov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions