(queue, update)
| 17548 | } |
| 17549 | |
| 17550 | function enqueueRenderPhaseUpdate(queue, update) { |
| 17551 | // This is a render phase update. Stash it in a lazily-created map of |
| 17552 | // queue -> linked list of updates. After this render pass, we'll restart |
| 17553 | // and apply the stashed updates on top of the work-in-progress hook. |
| 17554 | didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true; |
| 17555 | var pending = queue.pending; |
| 17556 | |
| 17557 | if (pending === null) { |
| 17558 | // This is the first update. Create a circular list. |
| 17559 | update.next = update; |
| 17560 | } else { |
| 17561 | update.next = pending.next; |
| 17562 | pending.next = update; |
| 17563 | } |
| 17564 | |
| 17565 | queue.pending = update; |
| 17566 | } // TODO: Move to ReactFiberConcurrentUpdates? |
| 17567 | |
| 17568 | |
| 17569 | function entangleTransitionUpdate(root, queue, lane) { |
no outgoing calls
no test coverage detected
searching dependent graphs…