MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / legacyGetDOMNode

Function legacyGetDOMNode

examples/simple/react.js:6305–6311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6303}
6304
6305function legacyGetDOMNode() {
6306 if ("development" !== 'production') {
6307 var component = this._reactInternalComponent;
6308 "development" !== 'production' ? warning(false, 'ReactDOMComponent: Do not access .getDOMNode() of a DOM node; ' + 'instead, use the node directly.%s', getDeclarationErrorAddendum(component)) : undefined;
6309 }
6310 return this;
6311}
6312
6313function legacyIsMounted() {
6314 var component = this._reactInternalComponent;

Callers

nothing calls this directly

Calls 2

warningFunction · 0.50

Tested by

no test coverage detected