Render error in processFragment
when NODE_ENV=production
#11241
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
Vue version
3.4.30
Links to minimal reproduction
Steps to reproduce
Navigate to http://localhost:5173/, open your devtools' console.
Then, click twice on the "toggle expand" button.
What is expected?
No error, the component toggles between "open" and "closed" when the button is clicked.
What is actually happening?
You'll get this error in the console, then the button is broken:
System Info
No response
Any additional comments?
We encountered an error while migrating an app from Vue 2 to Vue 3.
The code doesn't make much sense because I started from a real world app and removed all I could to get a minimal repro.
I'm not sure if there is a bug in Vue or Vite, but:
NODE_ENV
toproduction
.isReady
is part of thev-for
key, e.g.::key="value + isReady"
.The text was updated successfully, but these errors were encountered: