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

Function validateInstanceHandle

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

Source from the content-addressed store, hash-verified

2285var InstanceHandle = null;
2286
2287function validateInstanceHandle() {
2288 var valid = InstanceHandle && InstanceHandle.traverseTwoPhase && InstanceHandle.traverseEnterLeave;
2289 "development" !== 'production' ? warning(valid, 'InstanceHandle not injected before use!') : undefined;
2290}
2291
2292/**
2293 * This is a unified interface for event plugins to be installed and configured.

Callers 1

react.jsFile · 0.85

Calls 1

warningFunction · 0.50

Tested by

no test coverage detected