fix(runtime-core): fix render function + optimized slot edge case (#3523)
fix #2893 Manually rendering the optimized slots should allow subsequent updates to exit the optimization mode correctly
This commit is contained in:
@@ -1576,7 +1576,7 @@ function baseCreateRenderer(
|
||||
instance.vnode = nextVNode
|
||||
instance.next = null
|
||||
updateProps(instance, nextVNode.props, prevProps, optimized)
|
||||
updateSlots(instance, nextVNode.children)
|
||||
updateSlots(instance, nextVNode.children, optimized)
|
||||
|
||||
pauseTracking()
|
||||
// props update may have triggered pre-flush watchers.
|
||||
|
||||
Reference in New Issue
Block a user