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

Function findHostInstance

code/composition/public/app.js:14256–14262  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

14254 }
14255
14256 function findHostInstance(fiber) {
14257 var hostFiber = findCurrentHostFiber(fiber);
14258 if (hostFiber === null) {
14259 return null;
14260 }
14261 return hostFiber.stateNode;
14262 }
14263
14264 return {
14265 createContainer: function (containerInfo, isAsync, hydrate) {

Callers 1

ReactFiberReconciler$1Function · 0.70

Calls 1

findCurrentHostFiberFunction · 0.70

Tested by

no test coverage detected