(update.hasEagerState)
| 1517 | const action = update.action; |
| 1518 | if (shouldDoubleInvokeUserFnsInHooksDEV) { |
| 1519 | reducer(newState, action); |
| 1520 | } |
| 1521 | if (update.hasEagerState) { |
| 1522 | // If this update is a state update (not a reducer) and was processed eagerly, |
| 1523 | // we can use the eagerly computed state |
| 1524 | newState = ((update.eagerState: any): S); |
| 1525 | } else { |
| 1526 | newState = reducer(newState, action); |
| 1527 | } |
| 1528 | } |
no outgoing calls
no test coverage detected