(
instance: ComponentInternalInstance,
nextVNode: VNode,
optimized: boolean,
)
| 1621 | } |
| 1622 | |
| 1623 | const updateComponentPreRender = ( |
| 1624 | instance: ComponentInternalInstance, |
| 1625 | nextVNode: VNode, |
| 1626 | optimized: boolean, |
| 1627 | ) => { |
| 1628 | nextVNode.component = instance |
| 1629 | const prevProps = instance.vnode.props |
| 1630 | instance.vnode = nextVNode |
| 1631 | instance.next = null |
| 1632 | updateProps(instance, nextVNode.props, prevProps, optimized) |
| 1633 | updateSlots(instance, nextVNode.children, optimized) |
| 1634 | |
| 1635 | pauseTracking() |
| 1636 | // props update may have triggered pre-flush watchers. |
| 1637 | // flush them before the render update. |
| 1638 | flushPreFlushCbs(instance) |
| 1639 | resetTracking() |
| 1640 | } |
| 1641 | |
| 1642 | const patchChildren: PatchChildrenFn = ( |
| 1643 | n1, |
no test coverage detected