(finishedWork, finishedQueue, instance)
| 12632 | return hasForceUpdate; |
| 12633 | } |
| 12634 | function commitUpdateQueue(finishedWork, finishedQueue, instance) { |
| 12635 | // Commit the effects |
| 12636 | var effects = finishedQueue.effects; |
| 12637 | finishedQueue.effects = null; |
| 12638 | |
| 12639 | if (effects !== null) { |
| 12640 | for (var i = 0; i < effects.length; i++) { |
| 12641 | var effect = effects[i]; |
| 12642 | var callback = effect.callback; |
| 12643 | |
| 12644 | if (callback !== null) { |
| 12645 | effect.callback = null; |
| 12646 | callCallback(callback, instance); |
| 12647 | } |
| 12648 | } |
| 12649 | } |
| 12650 | } |
| 12651 | |
| 12652 | var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig; |
| 12653 | function requestCurrentSuspenseConfig() { |
no test coverage detected