-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
fix(runtime-core): Correct update renders both old and new dynamic child node arrays are empty #7266
Conversation
…ild node arrays are empty
❌ Deploy Preview for vuejs-coverage failed.
|
(__DEV__ && isHmrUpdating) || | ||
(dynamicChildren && | ||
prevDynamicChildren && | ||
dynamicChildren.length === 0 && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is incorrect and may lead to unnecessary updates since empty dynamicChildren
means no patch is needed in the fast path.
I think we should not track block if the entire node is static.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Size ReportBundles
Usages
|
# Conflicts: # packages/runtime-core/__tests__/rendererOptimizedMode.spec.ts # packages/runtime-core/src/renderer.ts
close: #7256