(fiber, queue, update, lane)
| 14482 | queue.interleaved = update; |
| 14483 | } |
| 14484 | function enqueueConcurrentClassUpdate(fiber, queue, update, lane) { |
| 14485 | var interleaved = queue.interleaved; |
| 14486 | |
| 14487 | if (interleaved === null) { |
| 14488 | // This is the first update. Create a circular list. |
| 14489 | update.next = update; // At the end of the current render, this queue's interleaved updates will |
| 14490 | // be transferred to the pending queue. |
| 14491 | |
| 14492 | pushConcurrentUpdateQueue(queue); |
| 14493 | } else { |
| 14494 | update.next = interleaved.next; |
| 14495 | interleaved.next = update; |
| 14496 | } |
| 14497 | |
| 14498 | queue.interleaved = update; |
| 14499 | return markUpdateLaneFromFiberToRoot(fiber, lane); |
| 14500 | } |
| 14501 | function enqueueConcurrentRenderForLane(fiber, lane) { |
| 14502 | return markUpdateLaneFromFiberToRoot(fiber, lane); |
| 14503 | } // Calling this function outside this module should only be done for backwards |
no test coverage detected
searching dependent graphs…