fix(runtime-core): prevent child component updates when style remains unchanged#12825
fix(runtime-core): prevent child component updates when style remains unchanged#12825edison1105 merged 3 commits intomainfrom
Conversation
Size ReportBundles
Usages
|
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
|
Hey whats the current status can this pr be merged? |
📝 WalkthroughWalkthroughAdds a test verifying child components aren't re-rendered when style props remain unchanged, and implements a new helper function in componentRenderUtils that compares prop values with special handling for style objects to prevent unnecessary component updates. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
|
/ecosystem-ci run |
|
📝 Ran ecosystem CI: Open
|
close #12826
Summary by CodeRabbit