devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Support component tree negative filter

Open geddski opened this issue 1 month ago • 1 comments

What problem does this feature solve?

When looking at the component tree there are often wrapper components that you don't need to look for, that clutter the view.

It would be awesome if you could filter out certain components by a negative search pattern, just like Chrome devtools does in the console and network views.

Image

So if I typed -loading I would expect to see my full DOM tree but with the <loading> components hidden. Importantly: I would still see the children of the <loading> components.

geddski avatar Nov 12 '25 21:11 geddski

We need an EXCLUDE filter on the component tree. PR welcome, or I will find some free time to do this.

alexzhang1030 avatar Dec 10 '25 02:12 alexzhang1030