Skip to content

bug: rerender causes leak for shot cubes #99

@clicktodev

Description

@clicktodev

https://github.com/pmndrs/ecctrl/blob/main/example/ShotCube.tsx

Screen.Recording.2024-09-16.at.2.35.28.PM.mp4
  1. open example project
  2. left mouse click to shoot cube
  3. save shotcube.tsx to cause hmr
  4. left mouse click to shoot again
  5. 2 cubes spawn instead of one
  6. save again
  7. shoot again
  8. 3 cubes spawn etc

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