-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Open
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.
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
Create count = ref(0);
Create non-reactive empty array;
Fill the array in onMounted();
Create template, where non-reactive array displays if count is bigger than some value.
This condition must be falsy at the start.
Increase the count to make the condition true and oldVNode is undefined will happens.
What is expected?
I was experimenting with vue's reactive system and trying to achieve behavior where non-reactive dates displays in the HTML when the count becomes bigger than comparedValue.
What is actually happening?
Increasing the count causes an oldVNode is undefined error if the initial count value is bigger than comparedValue at the start.
System Info
Firefox 131, Chrome 130Any additional comments?
I understand that the way I doing it is not recommended, but the error looks strange.
linzhe141 and vol1ura
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.