If an approach like this were to be taken, it would be worth thinking up front about component encapsulation. For example, maybe component names can be defined on a per-root basis:
```js
root.components.define('foo', class {
// ...
})
root.components.define('lorem', class {
// ...
})
```
---
We can also let component names not have hyphens, as opposed to Custom Elements.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/662#issuecomment-327353080