(fiber)
| 7969 | } |
| 7970 | |
| 7971 | function getUpdateExpirationTime(fiber) { |
| 7972 | switch (fiber.tag) { |
| 7973 | case HostRoot: |
| 7974 | case ClassComponent: |
| 7975 | var updateQueue = fiber.updateQueue; |
| 7976 | if (updateQueue === null) { |
| 7977 | return NoWork; |
| 7978 | } |
| 7979 | return updateQueue.expirationTime; |
| 7980 | default: |
| 7981 | return NoWork; |
| 7982 | } |
| 7983 | } |
| 7984 | |
| 7985 | function getStateFromUpdate(update, instance, prevState, props) { |
| 7986 | var partialState = update.partialState; |
no outgoing calls
no test coverage detected