MCPcopy
hub / github.com/facebook/react / getOwner

Function getOwner

packages/react/src/jsx/ReactJSXElement.js:49–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49function getOwner() {
50 if (__DEV__) {
51 const dispatcher = ReactSharedInternals.A;
52 if (dispatcher === null) {
53 return null;
54 }
55 return dispatcher.getOwner();
56 }
57 return null;
58}
59
60/** @noinline */
61function UnknownOwner() {

Callers 4

jsxProdFunction · 0.70
jsxDEVImplFunction · 0.70
createElementFunction · 0.70
cloneElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected