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

Function warn

code/one-direction-data-flow/public/app.js:2958–2961  ·  view source on GitHub ↗
(action, result)

Source from the content-addressed store, hash-verified

2956 }
2957
2958 function warn(action, result) {
2959 var warningCondition = false;
2960 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);
2961 }
2962}
2963
2964function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {

Callers 2

setFunction · 0.70
getFunction · 0.70

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected