(fiber)
| 7202 | } |
| 7203 | |
| 7204 | function getUpdateExpirationTime(fiber) { |
| 7205 | switch (fiber.tag) { |
| 7206 | case HostRoot: |
| 7207 | case ClassComponent: |
| 7208 | var updateQueue = fiber.updateQueue; |
| 7209 | if (updateQueue === null) { |
| 7210 | return NoWork; |
| 7211 | } |
| 7212 | return updateQueue.expirationTime; |
| 7213 | default: |
| 7214 | return NoWork; |
| 7215 | } |
| 7216 | } |
| 7217 | |
| 7218 | function getStateFromUpdate(update, instance, prevState, props) { |
| 7219 | var partialState = update.partialState; |
no outgoing calls
no test coverage detected