https://esm.sh/preact instead
Donāt use this for now, useThis repo was going to be an up-to-date build of Preact hosted at
deno.land/x/preact. However, due to limitations in
how jsx-runtime
can be served from
deno.land/x, this module
would be inferior to the version of Preact hosted by esm.sh.
If a workaround can be found or if something changes that fixes this problem, deno.land/x/preact will be revived to serve its original intent.
To learn more about using esm.sh/preact and JSX in Deno, hereās the official docs. The https://esm.sh homepage might also be helpful.
Note from repo creator
I am not a Preact maintainer or contributor. I wanted a version of Preact that was hosted on https://deno.land/x, and I saw the module name āpreactā was still available. I reserved it with intent to maintain it. However, I havenāt found a way to make it as easy-to-use as esm.sh.
If you are a Preact maintainer / author / Jason Miller, Iād be happy to hand this repo over along with deno.land/x/preact. Hereās my email and twitter.
If anybody can help out with the jsx-runtime problem, let me know in #2. I havenāt eliminated the possibility that it doesnāt work because I donāt know what Iām doing. (likely)