-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: ssr
Description
Vue version
3.4.31
Link to minimal reproduction
Steps to reproduce
In SSR production mode, ref/reactive data binding :style loses responsiveness.
- Define a reactive object as the style attribute of the element
- then change its value in the onMounted hook, and the style is not updated in a reactive way.
In DEV mode or Not SSR, everything is no problem.
What is expected?
element style updated as the reactive data changed its value
What is actually happening?
element style did not update.
I tried to debug, and find that the targetMap in the source code does not track this effect.
System Info
No response
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: ssr