Remove config argument from useTransition (#19719)
And `useDeferredValue`. The options were already disabled in previous commits, so this doesn't change any behavior. I upated type signatures and cleaned up the hook implementation a bit — no longer have to wrap the `start` method with `useCallback`, because its only remaining dependency is a `setState` method, which never changes. Instead, we can store the `start` method on a ref.
A
Andrew Clark committed
ddd1faa1972b614dfbfae205f2aa4a6c0b39a759
Parent: 92fcd46
Committed by GitHub <noreply@github.com>
on 8/28/2020, 6:49:01 PM