(workInProgress)
| 12201 | } |
| 12202 | |
| 12203 | function popTreeContext(workInProgress) { |
| 12204 | // Restore the previous values. |
| 12205 | // This is a bit more complicated than other context-like modules in Fiber |
| 12206 | // because the same Fiber may appear on the stack multiple times and for |
| 12207 | // different reasons. We have to keep popping until the work-in-progress is |
| 12208 | // no longer at the top of the stack. |
| 12209 | while (workInProgress === treeForkProvider) { |
| 12210 | treeForkProvider = forkStack[--forkStackIndex]; |
| 12211 | forkStack[forkStackIndex] = null; |
| 12212 | treeForkCount = forkStack[--forkStackIndex]; |
| 12213 | forkStack[forkStackIndex] = null; |
| 12214 | } |
| 12215 | |
| 12216 | while (workInProgress === treeContextProvider) { |
| 12217 | treeContextProvider = idStack[--idStackIndex]; |
| 12218 | idStack[idStackIndex] = null; |
| 12219 | treeContextOverflow = idStack[--idStackIndex]; |
| 12220 | idStack[idStackIndex] = null; |
| 12221 | treeContextId = idStack[--idStackIndex]; |
| 12222 | idStack[idStackIndex] = null; |
| 12223 | } |
| 12224 | } |
| 12225 | function getSuspendedTreeContext() { |
| 12226 | warnIfNotHydrating(); |
| 12227 |
no outgoing calls
no test coverage detected
searching dependent graphs…