Ignore specific components
See original GitHub issueSometimes I have many sort of “throw away” components that don’t really need to show in DevTools. If you’re not opposed to adding more optional attributes, we could add an x-ignore
and have DevTools ignore those components all together.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
exclude @Component from @ComponentScan - Stack Overflow
Save this question. Show activity on this post. I have a component that I want to exclude from a @ComponentScan in a particular...
Read more >Ignore parts of the code | JetBrains Rider Documentation
Minimize unwanted results in design-time code inspection and code inspection in specific scope by ignoring parts of code that you are not going...
Read more >Excluding Components and Bodies - 2019 - SOLIDWORKS Help
In the PropertyManager, select Excluded Components. In the graphics area or flyout FeatureManager design tree, select components to exclude. Hides the selected ...
Read more >Including / Excluding a Test for Multiple Components
The Enable / Disable Tests option in the Tests sub-menu of the Agents menu enables administrators to enable / disable specific tests for...
Read more >Excluding Components from your Simulation Studies [VIDEO]
The first method is directly in an existing study. You can right-click on a component in the Simulation tree and choose “Exclude from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
custom selector with a default to
x-devtools-ignore
ordata-devtools-ignore
sounds good 👍,document.querySelectorAll('[x-data]:not([x-devtools-ignore])')
(will be interpolated probably) or we can look at therootEls
when we loop through inbackend.js
No rush on this, trying to make sure there’s a path forward for it.
Depends how we plan on getting detecting components. Wouldn’t it just be automatic?
We’d need to use another directive to hide it specifically from devtools