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

DevTools: Rely on sourcemaps to compute hook name of built-in hooks in newer versions #28593

Merged
merged 4 commits into from
Apr 11, 2024

Commits on Apr 3, 2024

  1. DevTools: Rely on sourcemaps to compute hook name of built-in hooks

    As a fallback, we assume the dispatcher method name is the hook name.
    This holds for currently released React versions.
    As a follow-up, we introduce a separate field that holds the list of possible wrappers we try to match against e.g. for `useFormStatus` -> `dispatcher.useHostTransitionStatus`.
    eps1lon committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    2a28644 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81f4373 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    62d0cba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9688f14 View commit details
    Browse the repository at this point in the history