(hook, current, passthrough, reducer)
| 7625 | return hook; |
| 7626 | } |
| 7627 | function updateOptimisticImpl(hook, current, passthrough, reducer) { |
| 7628 | hook.baseState = passthrough; |
| 7629 | return updateReducerImpl( |
| 7630 | hook, |
| 7631 | currentHook, |
| 7632 | "function" === typeof reducer ? reducer : basicStateReducer |
| 7633 | ); |
| 7634 | } |
| 7635 | function dispatchActionState( |
| 7636 | fiber, |
| 7637 | actionQueue, |
no test coverage detected
searching dependent graphs…