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

Function findHostInstance

code/styling/public/app.js:14118–14124  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

14116 }
14117
14118 function findHostInstance(fiber) {
14119 var hostFiber = findCurrentHostFiber(fiber);
14120 if (hostFiber === null) {
14121 return null;
14122 }
14123 return hostFiber.stateNode;
14124 }
14125
14126 return {
14127 createContainer: function (containerInfo, isAsync, hydrate) {

Callers 1

ReactFiberReconciler$1Function · 0.70

Calls 1

findCurrentHostFiberFunction · 0.70

Tested by

no test coverage detected