Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exhaustive-deps] Add startTransition as a known stable method #19720

Merged
merged 1 commit into from
Aug 28, 2020

Commits on Aug 28, 2020

  1. Add startTransition as a known stable method

    The `startTransition` method returned from `useTransition` is a stable
    method, like `dispatch` or `setState`. You should not have to specify
    it as a hook dependency.
    acdlite committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    4ce9481 View commit details
    Browse the repository at this point in the history