Matsuuu / web-component-devtools

Web Component DevTools is a Browser Extension enhancing the development experience of Web Component developers
https://matsuuu.github.io/web-component-devtools/
MIT License
131 stars 3 forks source link

Create a object accessor for chrome/firefox interop #24

Open Matsuuu opened 3 years ago

Matsuuu commented 3 years ago

With FF, we sometimes need to access data through wrappedJSObject. It would be nice to make it so that we didn't have to pollute code with checks for this.

Maybe a shallow copy of the object every time we get something from DOM, or a access method to get data from it.