MCPcopy Create free account
hub / github.com/reactjs/react-rails / flushPassiveEffects

Function flushPassiveEffects

lib/assets/react-source/development/react.js:26511–26517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26509 }
26510
26511 function flushPassiveEffects() {
26512 if (pendingPassiveEffectsRenderPriority !== NoPriority) {
26513 var priorityLevel = pendingPassiveEffectsRenderPriority > NormalPriority ? NormalPriority : pendingPassiveEffectsRenderPriority;
26514 pendingPassiveEffectsRenderPriority = NoPriority;
26515 return runWithPriority$1(priorityLevel, flushPassiveEffectsImpl);
26516 }
26517 }
26518
26519 function flushPassiveEffectsImpl() {
26520 if (rootWithPendingPassiveEffects === null) {

Callers 7

scheduleRefreshFunction · 0.85
scheduleRootFunction · 0.85
performSyncWorkOnRootFunction · 0.85
flushDiscreteUpdatesFunction · 0.85
commitRootImplFunction · 0.85

Calls 1

runWithPriority$1Function · 0.85

Tested by

no test coverage detected