MCPcopy Index your code
hub / github.com/plotly/dash / dispatchDiscreteEvent

Function dispatchDiscreteEvent

dash/deps/react-dom@18.2.0.js:6433–6445  ·  view source on GitHub ↗
(domEventName, eventSystemFlags, container, nativeEvent)

Source from the content-addressed store, hash-verified

6431 }
6432
6433 function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
6434 var previousPriority = getCurrentUpdatePriority();
6435 var prevTransition = ReactCurrentBatchConfig.transition;
6436 ReactCurrentBatchConfig.transition = null;
6437
6438 try {
6439 setCurrentUpdatePriority(DiscreteEventPriority);
6440 dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
6441 } finally {
6442 setCurrentUpdatePriority(previousPriority);
6443 ReactCurrentBatchConfig.transition = prevTransition;
6444 }
6445 }
6446
6447 function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) {
6448 var previousPriority = getCurrentUpdatePriority();

Callers

nothing calls this directly

Calls 3

getCurrentUpdatePriorityFunction · 0.70
setCurrentUpdatePriorityFunction · 0.70
dispatchEventFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…