Skip to content

Commit 7e5841a

Browse files
committed
TODO
1 parent ae16e24 commit 7e5841a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-dom/src/events/ReactDOMEventListener.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ export function getEventPriority(domEventName: DOMEventName): * {
443443
// Eventually this mechanism will be replaced by a check
444444
// of the current priority on the native scheduler.
445445
const schedulerPriority = getCurrentPriorityLevel();
446+
// TODO: Inline schedulerPriorityToLanePriority into this file
447+
// when we delete the enableNativeEventPriorityInference flag.
446448
return schedulerPriorityToLanePriority(schedulerPriority);
447449
}
448450
default:

0 commit comments

Comments
 (0)