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

Improve React Developer Tools support #185

Open
mwiemer-microsoft opened this issue Jul 10, 2023 · 2 comments
Open

Improve React Developer Tools support #185

mwiemer-microsoft opened this issue Jul 10, 2023 · 2 comments

Comments

@mwiemer-microsoft
Copy link

mwiemer-microsoft commented Jul 10, 2023

When opening React devtools, there's a warning:

This page includes an extra development build of React. 🚧

The React build on this page includes both development and production versions because dead code elimination has not been applied correctly.

This makes its size larger, and causes React to run slower.

Make sure to set up dead code elimination before deployment.

Open the developer tools, and "Components" and "Profiler" tabs will appear to the right.


This makes it hard to profile the page and get a better holistic sense of what's going on. I'm getting timeouts when I try to inspect elements:

timeout inspecting Grid in Nodes with Auto Measure demo

@mwiemer-microsoft
Copy link
Author

haha, this is because my repo does indeed include an extra development build of React. Oops. Closing.

@mwiemer-microsoft mwiemer-microsoft closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
@mwiemer-microsoft
Copy link
Author

Ugh, as much as my repo includes an extra build, this repo's docs shouldn't. Re-opening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant