https://esm.sh/preact insteadDon’t use this for now, use
This 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.
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 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)