Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: Memory leak occurs when extending/re-exporting radix-vue types #1289

@hrubysimon

Description

@hrubysimon

Environment

Developement/Production OS: WSL 2 Ubuntu 22.04.3 LTS / Windows 11 / 10.0.22631
Node version: 22.0.8
Package manager: [email protected]
Radix Vue version: 1.9.5
Vue version: 3.5.5
Nuxt version: -
Nuxt mode: -
Nuxt target: -
CSS framework: -
Client OS: Windows 11 / 10.0.22631
Browser: Chrome 128.0.6613.138

Link to minimal reproduction

https://github.com/hrubysimon/vue3-vite-freeze

Steps to reproduce

  1. yarn install
  2. yarn dev
  3. open src/components/ExtendedPopover/ExtendedPopoverRoot.vue
  4. edit function foo(), e.g. duplicate line console.log('foo') -> save
  5. repeat step 4

dev server should be frozen

Describe the bug

Memory leaks occurs when extending/re-exporting radix-vue types.
I'm not aware of any circular dependencies in provided reproduction.

It might not be caused by radix-vue, but I'm opening issue here as well just to be sure.

Expected behavior

No response

Context & Screenshots (if applicable)

vue-freeze.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions