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

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

Closed
hrubysimon opened this issue Sep 13, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@hrubysimon
Copy link

hrubysimon commented Sep 13, 2024

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
@hrubysimon hrubysimon added the bug Something isn't working label Sep 13, 2024
@hrubysimon
Copy link
Author

Turns out it is vite-plugin-vue bug, closing this.

vitejs/vite-plugin-vue#443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant