MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / findHostInstance

Function findHostInstance

code/third-party/public/app.js:13351–13357  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

13349 }
13350
13351 function findHostInstance(fiber) {
13352 var hostFiber = findCurrentHostFiber(fiber);
13353 if (hostFiber === null) {
13354 return null;
13355 }
13356 return hostFiber.stateNode;
13357 }
13358
13359 return {
13360 createContainer: function (containerInfo, isAsync, hydrate) {

Callers 1

ReactFiberReconciler$1Function · 0.70

Calls 1

findCurrentHostFiberFunction · 0.70

Tested by

no test coverage detected