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 3d10eca commit 0af9defCopy full SHA for 0af9def
packages/react-reconciler/src/ReactFiberWorkLoop.new.js
@@ -465,15 +465,7 @@ export function requestUpdateLane(fiber: Fiber): Lane {
465
} else {
466
if (enableNativeEventPriorityInference) {
467
const eventLanePriority = getCurrentEventPriority();
468
- if (eventLanePriority === DefaultLanePriority) {
469
- // TODO: move this case into the ReactDOM host config.
470
- const schedulerLanePriority = schedulerPriorityToLanePriority(
471
- schedulerPriority,
472
- );
473
- lane = findUpdateLane(schedulerLanePriority, currentEventWipLanes);
474
- } else {
475
- lane = findUpdateLane(eventLanePriority, currentEventWipLanes);
476
- }
+ lane = findUpdateLane(eventLanePriority, currentEventWipLanes);
477
478
const schedulerLanePriority = schedulerPriorityToLanePriority(
479
schedulerPriority,
0 commit comments