Custom web components in Firefox

Hi,

We use Aurelia together with custom web components. We are experiencing some issues with custom web components in Firefox.
ReferenceError: customElements is not defined

Is this something Aurelia will handle in the future or do we need to cater for it?

Any guidance is appreciated.
Thanks.

Since custom elements are not yet natively supported in FF you’ll need a polyfill. Take a look at the official MDN docs for further help https://developer.mozilla.org/en-US/docs/Web/Web_Components/Status_in_Firefox

2 Likes