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

[useEventSource]: Hot Reload - Maximum recursive updates exceeded #3930

Open
7 tasks done
jaketig opened this issue Apr 18, 2024 · 0 comments
Open
7 tasks done

[useEventSource]: Hot Reload - Maximum recursive updates exceeded #3930

jaketig opened this issue Apr 18, 2024 · 0 comments

Comments

@jaketig
Copy link
Contributor

jaketig commented Apr 18, 2024

Describe the bug

Hot Reload with Nuxt 3 seems to be causing an infinte render loop with useEventSource.
See reproduction.

Uncaught (in promise) Maximum recursive updates exceeded in component <nuxt-root>. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.

Reproduction

https://stackblitz.com/edit/nuxt-starter-vn3hms?file=app.vue

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
    Memory: 673.77 MB / 15.75 GB
  Binaries:
    Node: 20.11.0 - C:\Program Files\nodejs\node.EXE     
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD        
    pnpm: 8.15.1 - C:\ProgramData\chocolatey\bin\pnpm.EXE
  Browsers:
    Edge: Chromium (123.0.2420.97)
  npmPackages:
    @vueuse/components: ^10.9.0 => 10.9.0 
    @vueuse/math: ^10.9.0 => 10.9.0 
    @vueuse/nuxt: ^10.9.0 => 10.9.0

Used Package Manager

npm

Validations

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