(fiber)
| 7330 | } |
| 7331 | |
| 7332 | function getUpdateExpirationTime(fiber) { |
| 7333 | switch (fiber.tag) { |
| 7334 | case HostRoot: |
| 7335 | case ClassComponent: |
| 7336 | var updateQueue = fiber.updateQueue; |
| 7337 | if (updateQueue === null) { |
| 7338 | return NoWork; |
| 7339 | } |
| 7340 | return updateQueue.expirationTime; |
| 7341 | default: |
| 7342 | return NoWork; |
| 7343 | } |
| 7344 | } |
| 7345 | |
| 7346 | function getStateFromUpdate(update, instance, prevState, props) { |
| 7347 | var partialState = update.partialState; |
no outgoing calls
no test coverage detected