Home / Function/ dispatchContinuousEvent() — react Function Reference

dispatchContinuousEvent() — react Function Reference

Architecture documentation for the dispatchContinuousEvent() function in ReactDOMEventListener.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  2b32c897_31e3_f23c_f9dd_5e094a387e2c["dispatchContinuousEvent()"]
  0c211008_c74e_915e_c327_5c354926cb6c["ReactDOMEventListener.js"]
  2b32c897_31e3_f23c_f9dd_5e094a387e2c -->|defined in| 0c211008_c74e_915e_c327_5c354926cb6c
  f2b40e8c_bee8_f21e_dc24_5825b11d258d["dispatchEvent()"]
  2b32c897_31e3_f23c_f9dd_5e094a387e2c -->|calls| f2b40e8c_bee8_f21e_dc24_5825b11d258d
  style 2b32c897_31e3_f23c_f9dd_5e094a387e2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-dom-bindings/src/events/ReactDOMEventListener.js lines 139–155

function dispatchContinuousEvent(
  domEventName: DOMEventName,
  eventSystemFlags: EventSystemFlags,
  container: EventTarget,
  nativeEvent: AnyNativeEvent,
) {
  const prevTransition = ReactSharedInternals.T;
  ReactSharedInternals.T = null;
  const previousPriority = getCurrentUpdatePriority();
  try {
    setCurrentUpdatePriority(ContinuousEventPriority);
    dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
  } finally {
    setCurrentUpdatePriority(previousPriority);
    ReactSharedInternals.T = prevTransition;
  }
}

Domain

Subdomains

Frequently Asked Questions

What does dispatchContinuousEvent() do?
dispatchContinuousEvent() is a function in the react codebase, defined in packages/react-dom-bindings/src/events/ReactDOMEventListener.js.
Where is dispatchContinuousEvent() defined?
dispatchContinuousEvent() is defined in packages/react-dom-bindings/src/events/ReactDOMEventListener.js at line 139.
What does dispatchContinuousEvent() call?
dispatchContinuousEvent() calls 1 function(s): dispatchEvent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free