Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Preact signal #229

Open
HappyStriker opened this issue Sep 6, 2022 · 3 comments
Open

Include Preact signal #229

HappyStriker opened this issue Sep 6, 2022 · 3 comments

Comments

@HappyStriker
Copy link

Hey there,

thank you for providing htm and thus a simple build tools free solution to use Preact!

Recently a new extension to Preact has been published, namely @preact/signals. As this is an amazing improvement to the way to use Preact I am wondering if there are any plans to include it into the whole htm standalone package?

This would be amazing.

Thanks you very much!

Sincerely,
Happy Striker

@arturi
Copy link

arturi commented Sep 13, 2022

+1 for this

@mujahidfa
Copy link

I love this idea but I can't wait longer, so I made a standalone version of Preact + HTM + Preact Signals myself!

Y'all can check it out here: preact-htm-signals-standalone

Usage:

<script type="module">
  import { html, render, signal } from "https://cdn.jsdelivr.net/npm/preact-htm-signals-standalone/dist/standalone.js";
  ...
</script>

@badpenguin
Copy link

Hi, where i can find ESM modules for this to be included directly into a buildless app?
I'm creating a PWA and need to store the files locally for offline usage.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants