MCPcopy Index your code
hub / github.com/react/react / warnOnSymbolType

Function warnOnSymbolType

packages/react-reconciler/src/ReactChildFiber.js:407–414  ·  view source on GitHub ↗
(returnFiber: Fiber, invalidChild: symbol)

Source from the content-addressed store, hash-verified

405}
406
407function warnOnSymbolType(returnFiber: Fiber, invalidChild: symbol) {
408 const debugTask = getCurrentDebugTask();
409 if (__DEV__ && debugTask !== null) {
410 debugTask.run(warnOnSymbolTypeImpl.bind(null, returnFiber, invalidChild));
411 } else {
412 warnOnSymbolTypeImpl(returnFiber, invalidChild);
413 }
414}
415
416type ChildReconciler = (
417 returnFiber: Fiber,

Callers 4

createChildFunction · 0.70
updateSlotFunction · 0.70
updateFromMapFunction · 0.70
reconcileChildFibersImplFunction · 0.70

Calls 3

getCurrentDebugTaskFunction · 0.85
warnOnSymbolTypeImplFunction · 0.85
runMethod · 0.80

Tested by

no test coverage detected