(fiber)
| 8004 | } |
| 8005 | |
| 8006 | function getUpdateExpirationTime(fiber) { |
| 8007 | switch (fiber.tag) { |
| 8008 | case HostRoot: |
| 8009 | case ClassComponent: |
| 8010 | var updateQueue = fiber.updateQueue; |
| 8011 | if (updateQueue === null) { |
| 8012 | return NoWork; |
| 8013 | } |
| 8014 | return updateQueue.expirationTime; |
| 8015 | default: |
| 8016 | return NoWork; |
| 8017 | } |
| 8018 | } |
| 8019 | |
| 8020 | function getStateFromUpdate(update, instance, prevState, props) { |
| 8021 | var partialState = update.partialState; |
no outgoing calls
no test coverage detected