MCPcopy
hub / github.com/facebook/react / lowerEventPriority

Function lowerEventPriority

packages/react-reconciler/src/ReactEventPriorities.js:37–42  ·  view source on GitHub ↗
(
  a: EventPriority,
  b: EventPriority,
)

Source from the content-addressed store, hash-verified

35}
36
37export function lowerEventPriority(
38 a: EventPriority,
39 b: EventPriority,
40): EventPriority {
41 return a === 0 || a > b ? a : b;
42}
43
44export function isHigherEventPriority(
45 a: EventPriority,

Callers 1

flushPassiveEffectsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected