MCPcopy
hub / github.com/preactjs/preact / rerender

Function rerender

test/fixtures/preact.js:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 (options.debounceRendering || defer)(rerender);
54 }
55 function rerender() {
56 var p;
57 while ((p = items.pop())) if (p.__d) renderComponent(p);
58 }
59 function isSameNodeType(node, vnode, hydrating) {
60 if ('string' == typeof vnode || 'number' == typeof vnode)
61 return void 0 !== node.splitText;

Callers 15

portals.test.jsxFile · 0.85
context.test.jsxFile · 0.85
memo.test.jsxFile · 0.85
hooks.test.jsxFile · 0.85
suspense.test.jsxFile · 0.85
assertFunction · 0.85
render.test.jsxFile · 0.85

Calls 1

renderComponentFunction · 0.70

Tested by 3

assertFunction · 0.68
verifyLifecycleMethodsFunction · 0.68
validateHookFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…