MCPcopy Create free account
hub / github.com/microsoft/SandDance / warnOnInvalidCallback$1

Function warnOnInvalidCallback$1

docs/external/js/react-dom.development.js:24858–24864  ·  view source on GitHub ↗
(callback, callerName)

Source from the content-addressed store, hash-verified

24856 }
24857
24858 function warnOnInvalidCallback$1(callback, callerName) {
24859 {
24860 if (callback !== null && typeof callback !== 'function') {
24861 error('%s(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callerName, callback);
24862 }
24863 }
24864 }
24865
24866 function legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) {
24867 {

Callers 1

Calls 1

errorFunction · 0.70

Tested by

no test coverage detected