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 e11bf42 commit 61836fbCopy full SHA for 61836fb
packages/react-reconciler/src/ReactFiberWorkLoop.js
@@ -406,7 +406,7 @@ export function scheduleUpdateOnFiber(
406
} else {
407
scheduleCallbackForRoot(root, ImmediatePriority, Sync);
408
if (executionContext === NoContext) {
409
- // Flush the synchronous work now, wnless we're already working or inside
+ // Flush the synchronous work now, unless we're already working or inside
410
// a batch. This is intentionally inside scheduleUpdateOnFiber instead of
411
// scheduleCallbackForFiber to preserve the ability to schedule a callback
412
// without immediately flushing it. We only do this for user-initiated
0 commit comments