(fiber)
| 8107 | } |
| 8108 | |
| 8109 | function getUpdateExpirationTime(fiber) { |
| 8110 | switch (fiber.tag) { |
| 8111 | case HostRoot: |
| 8112 | case ClassComponent: |
| 8113 | var updateQueue = fiber.updateQueue; |
| 8114 | if (updateQueue === null) { |
| 8115 | return NoWork; |
| 8116 | } |
| 8117 | return updateQueue.expirationTime; |
| 8118 | default: |
| 8119 | return NoWork; |
| 8120 | } |
| 8121 | } |
| 8122 | |
| 8123 | function getStateFromUpdate(update, instance, prevState, props) { |
| 8124 | var partialState = update.partialState; |
no outgoing calls
no test coverage detected