Making Web Components Work
For me, the biggest plus of web components is the potential simplicity of unifying the document&#x27;s object model with that of your application. Every JS framework, like React, Angular, Vue, etc. seems to have a parallel OM that either wraps or renders into the DOM (Angular seems to have about 5 of them).<p>The result is your can never just use the basic DOM APIs and devtools to inspect and interact with your application&#x27;s components. Instead, you always have to get at them through some other API, and understand how the UI and state you see in the DOM is produced and updated by some mediating layer (virtual DOM, view hierarchy, etc.). It feels like trying to get at the truth by talking with two different people, who each only possess a subset of the facts.