(fiber)
| 15842 | } |
| 15843 | |
| 15844 | function initializeUpdateQueue(fiber) { |
| 15845 | var queue = { |
| 15846 | baseState: fiber.memoizedState, |
| 15847 | baseQueue: null, |
| 15848 | shared: { |
| 15849 | pending: null |
| 15850 | }, |
| 15851 | effects: null |
| 15852 | }; |
| 15853 | fiber.updateQueue = queue; |
| 15854 | } |
| 15855 | function cloneUpdateQueue(current, workInProgress) { |
| 15856 | // Clone the update queue from current. Unless it's already a clone. |
| 15857 | var queue = workInProgress.updateQueue; |
no outgoing calls
no test coverage detected