(fiber)
| 8220 | } |
| 8221 | |
| 8222 | function getUpdateExpirationTime(fiber) { |
| 8223 | switch (fiber.tag) { |
| 8224 | case HostRoot: |
| 8225 | case ClassComponent: |
| 8226 | var updateQueue = fiber.updateQueue; |
| 8227 | if (updateQueue === null) { |
| 8228 | return NoWork; |
| 8229 | } |
| 8230 | return updateQueue.expirationTime; |
| 8231 | default: |
| 8232 | return NoWork; |
| 8233 | } |
| 8234 | } |
| 8235 | |
| 8236 | function getStateFromUpdate(update, instance, prevState, props) { |
| 8237 | var partialState = update.partialState; |
no outgoing calls
no test coverage detected