(fiber)
| 12282 | } |
| 12283 | |
| 12284 | function initializeUpdateQueue(fiber) { |
| 12285 | var queue = { |
| 12286 | baseState: fiber.memoizedState, |
| 12287 | baseQueue: null, |
| 12288 | shared: { |
| 12289 | pending: null |
| 12290 | }, |
| 12291 | effects: null |
| 12292 | }; |
| 12293 | fiber.updateQueue = queue; |
| 12294 | } |
| 12295 | function cloneUpdateQueue(current, workInProgress) { |
| 12296 | // Clone the update queue from current. Unless it's already a clone. |
| 12297 | var queue = workInProgress.updateQueue; |
no outgoing calls
no test coverage detected