MCPcopy
hub / github.com/claude-code-best/claude-code / scheduleRenderFrom

Function scheduleRenderFrom

packages/@ant/ink/src/core/dom.ts:419–423  ·  view source on GitHub ↗
(node?: DOMNode)

Source from the content-addressed store, hash-verified

417// without going through React's reconciler. Pair with markDirty() so the
418// renderer knows which subtree to re-evaluate.
419export const scheduleRenderFrom = (node?: DOMNode): void => {
420 let cur: DOMNode | undefined = node
421 while (cur?.parentNode) cur = cur.parentNode
422 if (cur && cur.nodeName !== '#text') (cur as DOMElement).onRender?.()
423}
424
425export const setTextNodeValue = (node: TextNode, text: string): void => {
426 if (typeof text !== 'string') {

Callers 1

scrollMutatedFunction · 0.85

Calls 1

onRenderMethod · 0.80

Tested by

no test coverage detected