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: Only show StrictMode badge on root elements #23012

Merged
merged 2 commits into from
Dec 21, 2021

Commits on Dec 21, 2021

  1. DevTools: Only show StrictMode badge on root elements

    Showing an inline non-compliance badge for every element in the tree is noisy. This commit changes it so that we only show inline icons for root elements (although we continue to show an icon for inspected elements regardless).
    Brian Vaughn committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    3c2ac72 View commit details
    Browse the repository at this point in the history
  2. Simplified code and added inline comment

    Brian Vaughn committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    97cdafa View commit details
    Browse the repository at this point in the history