Re: [w3c/webcomponents] Scoped Custom Element Registries (#716)

In this example I'm showing the shared registry per package pattern I described above. I did forget to give the element the registry though.

We need to add:
```js
export class ParentElement extends LitElement {
  static get registry { return registry; }
}
```

or:
```js
ParentElement.registry = registry;
```

And have `LitElement` use that in it's `attachShadow()` call.

-- 
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/716#issuecomment-368115698

Received on Friday, 23 February 2018 19:33:32 UTC