HMR infinite loop inside deepEqual
#400
Labels
p3-significant 🔨
High priority enhancement (priority)
deepEqual
#400
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: