-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
HMR infinite loop inside deepEqual
#400
Labels
p3-significant 🔨
High priority enhancement (priority)
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
I can reproduce an infinite loop during HMR. I have located the loop inside
deepEqual
function introduced in (#258 and #334). It seems to appear when importing third-party library (here radix-vue / vue) because it recursively walk through the AST of the library components / TS definitions (non-project file).Related issue #350.
Reproduction
https://stackblitz.com/edit/vite-plugin-vue-hmr-inifite-loop-repro
Steps to reproduce
src/App.vue
HMR workssrc/components/ui/alert-dialog/AlertDialog.vue
HMR hangsSystem Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: