(finishedWork, finishedQueue, instance)
| 16192 | return hasForceUpdate; |
| 16193 | } |
| 16194 | function commitUpdateQueue(finishedWork, finishedQueue, instance) { |
| 16195 | // Commit the effects |
| 16196 | var effects = finishedQueue.effects; |
| 16197 | finishedQueue.effects = null; |
| 16198 | |
| 16199 | if (effects !== null) { |
| 16200 | for (var i = 0; i < effects.length; i++) { |
| 16201 | var effect = effects[i]; |
| 16202 | var callback = effect.callback; |
| 16203 | |
| 16204 | if (callback !== null) { |
| 16205 | effect.callback = null; |
| 16206 | callCallback(callback, instance); |
| 16207 | } |
| 16208 | } |
| 16209 | } |
| 16210 | } |
| 16211 | |
| 16212 | var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig; |
| 16213 | function requestCurrentSuspenseConfig() { |
no test coverage detected