MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / updateComponentPreRender

Function updateComponentPreRender

web/main.js:5314–5324  ·  view source on GitHub ↗
(instance, nextVNode, optimized)

Source from the content-addressed store, hash-verified

5312 update();
5313 };
5314 const updateComponentPreRender = (instance, nextVNode, optimized) => {
5315 nextVNode.component = instance;
5316 const prevProps = instance.vnode.props;
5317 instance.vnode = nextVNode;
5318 instance.next = null;
5319 updateProps(instance, nextVNode.props, prevProps, optimized);
5320 updateSlots(instance, nextVNode.children, optimized);
5321 pauseTracking();
5322 flushPreFlushCbs(instance);
5323 resetTracking();
5324 };
5325 const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized = false) => {
5326 const c1 = n1 && n1.children;
5327 const prevShapeFlag = n1 ? n1.shapeFlag : 0;

Callers 2

updateComponentFunction · 0.85
componentUpdateFnFunction · 0.85

Calls 5

updatePropsFunction · 0.85
updateSlotsFunction · 0.85
pauseTrackingFunction · 0.85
flushPreFlushCbsFunction · 0.85
resetTrackingFunction · 0.85

Tested by

no test coverage detected