(queue, update)
| 16729 | } |
| 16730 | |
| 16731 | function enqueueRenderPhaseUpdate(queue, update) { |
| 16732 | // This is a render phase update. Stash it in a lazily-created map of |
| 16733 | // queue -> linked list of updates. After this render pass, we'll restart |
| 16734 | // and apply the stashed updates on top of the work-in-progress hook. |
| 16735 | didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true; |
| 16736 | var pending = queue.pending; |
| 16737 | |
| 16738 | if (pending === null) { |
| 16739 | // This is the first update. Create a circular list. |
| 16740 | update.next = update; |
| 16741 | } else { |
| 16742 | update.next = pending.next; |
| 16743 | pending.next = update; |
| 16744 | } |
| 16745 | |
| 16746 | queue.pending = update; |
| 16747 | } // TODO: Move to ReactFiberConcurrentUpdates? |
| 16748 | |
| 16749 | |
| 16750 | function entangleTransitionUpdate(root, queue, lane) { |
no outgoing calls
no test coverage detected
searching dependent graphs…