MCPcopy Index your code
hub / github.com/DeedMob/react-load-image / precacheChildNodes

Function precacheChildNodes

example/dist.js:613–640  ·  view source on GitHub ↗

* Populate `_hostNode` on each child of `inst`, assuming that the children * match up with the DOM (element) children of `node`. * * We cache entire levels at once to avoid an n^2 problem where we access the * children of a node sequentially and have to walk from the start to our target * node

(inst, node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getNodeFromInstanceFunction · 0.85

Calls 4

shouldPrecacheNodeFunction · 0.85
precacheNodeFunction · 0.85
invariantFunction · 0.85

Tested by

no test coverage detected