MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / warn

Function warn

code/controlled-uncontrolled/public/app.js:2409–2412  ·  view source on GitHub ↗
(action, result)

Source from the content-addressed store, hash-verified

2407 }
2408
2409 function warn(action, result) {
2410 var warningCondition = false;
2411 warning(warningCondition, "This synthetic event is reused for performance reasons. If you're seeing this, " + "you're %s `%s` on a released/nullified synthetic event. %s. " + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result);
2412 }
2413}
2414
2415function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {

Callers 2

setFunction · 0.70
getFunction · 0.70

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected