MCPcopy Create free account
hub / github.com/WebReflection/neverland / render$1

Function render$1

index.js:1701–1707  ·  view source on GitHub ↗
(where, what)

Source from the content-addressed store, hash-verified

1699 svg$1["for"] = createFor(svg);
1700 var cache$1 = umap(new WeakMap$1());
1701 var render$1 = function render$1(where, what) {
1702 var hook = typeof what === 'function' ? what() : what;
1703 var info = cache$1.get(where) || cache$1.set(where, createCache$1(null));
1704 info.w = where;
1705 info.W = what;
1706 return render(where, hook instanceof Hook ? unroll$1(info, hook) : (unrollHole(info, hook), hook));
1707 };
1708 var update$1 = false;
1709
1710 var updateEntry = function updateEntry(entry, node) {

Callers 1

createHookFunction · 0.70

Calls 4

createCache$1Function · 0.85
unroll$1Function · 0.70
unrollHoleFunction · 0.70
renderFunction · 0.50

Tested by

no test coverage detected