-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi @Matsuuu,
Thank you for creating this amazing tool.
I have folked and cloned the repo, and as I was walking thru the codes to get a better understanding how it works under the hood. I see this this TODO comment you left.
https://github.com/Matsuuu/web-component-devtools/blob/main/lib/devtools-init.js#L2
If I may work on that?
My thoughts process:
- Upon document idle, check if there's any Web Components on page, it none, skip create panel
- Though there is another scenario where no initial Web Components to start with, but the web page might render Web Components dynamically when user interacts with the page, so I think we should handle this as well by using
MutationObserver?
Brandon
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels