(passthrough, reducer)
| 25097 | return [passthrough, hook]; |
| 25098 | } |
| 25099 | function updateOptimistic(passthrough, reducer) { |
| 25100 | var hook = updateWorkInProgressHook(); |
| 25101 | return updateOptimisticImpl(hook, currentHook, passthrough, reducer); |
| 25102 | } |
| 25103 | function updateOptimisticImpl(hook, current, passthrough, reducer) { |
| 25104 | hook.baseState = passthrough; |
| 25105 | return updateReducerImpl( |
no test coverage detected
searching dependent graphs…