(fiber, queue, update, lane)
| 13369 | queue.interleaved = update; |
| 13370 | } |
| 13371 | function enqueueConcurrentClassUpdate(fiber, queue, update, lane) { |
| 13372 | var interleaved = queue.interleaved; |
| 13373 | |
| 13374 | if (interleaved === null) { |
| 13375 | // This is the first update. Create a circular list. |
| 13376 | update.next = update; // At the end of the current render, this queue's interleaved updates will |
| 13377 | // be transferred to the pending queue. |
| 13378 | |
| 13379 | pushConcurrentUpdateQueue(queue); |
| 13380 | } else { |
| 13381 | update.next = interleaved.next; |
| 13382 | interleaved.next = update; |
| 13383 | } |
| 13384 | |
| 13385 | queue.interleaved = update; |
| 13386 | return markUpdateLaneFromFiberToRoot(fiber, lane); |
| 13387 | } |
| 13388 | function enqueueConcurrentRenderForLane(fiber, lane) { |
| 13389 | return markUpdateLaneFromFiberToRoot(fiber, lane); |
| 13390 | } // Calling this function outside this module should only be done for backwards |
no test coverage detected
searching dependent graphs…