atomicojs / atomico

Atomico a micro-library for creating webcomponents using only functions, hooks and virtual-dom.
https://atomicojs.dev
MIT License
1.15k stars 43 forks source link

Examples for use with Deno? #70

Closed shah closed 2 years ago

shah commented 2 years ago

We migrated away from NPM/NodeJS back in 2020 and are very happy with Deno as our replacement TS/JS runtime. Are there any examples available for using Atomico with Deno?

UpperCod commented 2 years ago

Not at the moment, since Deno does not recognize document with a global variable.

  The following options were ignored:
    declaration, emitDeclarationOnly, outDir
error: Uncaught ReferenceError: document is not defined
    at https://cdn.esm.sh/v58/atomico@1.35.0/deno/atomico.js:2:1945

If you know a solution to this please tell me.