diogofcunha / react-virtualized-tree

A virtualized tree view component making use of react
https://diogofcunha.github.io/react-virtualized-tree/
MIT License
450 stars 95 forks source link

Improve React Developer Tools support #185

Open mwiemer-microsoft opened 11 months ago

mwiemer-microsoft commented 11 months ago

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 commented 6 days ago

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

mwiemer-microsoft commented 6 days ago

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