We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae16e24 commit 7e5841aCopy full SHA for 7e5841a
packages/react-dom/src/events/ReactDOMEventListener.js
@@ -443,6 +443,8 @@ export function getEventPriority(domEventName: DOMEventName): * {
443
// Eventually this mechanism will be replaced by a check
444
// of the current priority on the native scheduler.
445
const schedulerPriority = getCurrentPriorityLevel();
446
+ // TODO: Inline schedulerPriorityToLanePriority into this file
447
+ // when we delete the enableNativeEventPriorityInference flag.
448
return schedulerPriorityToLanePriority(schedulerPriority);
449
}
450
default:
0 commit comments