MCPcopy Index your code
hub / github.com/microsoft/SandDance / get

Function get

docs/external/js/react-dom.development.js:2911–2913  ·  view source on GitHub ↗

* `ReactInstanceMap` maintains a mapping from a public facing stateful * instance (key) and the internal representation (value). This allows public * methods to accept the user facing instance as an argument and map them back * to internal methods. * * Note that this module is current

(key)

Source from the content-addressed store, hash-verified

2909 * If this becomes an actual Map, that will break.
2910 */
2911 function get(key) {
2912 return key._reactInternalFiber;
2913 }
2914 function has$1(key) {
2915 return key._reactInternalFiber !== undefined;
2916 }

Callers 4

isMountedFunction · 0.70
getContextForSubtreeFunction · 0.70

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected