beerman2y ago

ReferenceError: HTMLElement is not defined

Has anyone encountered this issue before? Minimal reproduction repo:
GitHub - jakubdonovan/deno-sveltekit at web3
Contribute to jakubdonovan/deno-sveltekit development by creating an account on GitHub.
1 Reply
yup, Deno doesn't seem to support this and looking at the issue on Github it doesn't seem like enough people care about it for it to be implemented 😅 (which is a shame since i'd also love this for SSR purposes when working with web components) see:
Support for HTMLElement · Issue #6794 · denoland/deno
Similar to other browser globals but recognize this is an ambitious request. If web compatibility is a goal then from my perspective this should be too. Currently there are only a few options for c...