feat(site): show example of custom template w/ lit-html (#26)

This commit is contained in:
Ayo Ayco 2023-12-13 15:32:17 +01:00 committed by GitHub
parent 6379334335
commit 1879c36350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,8 +66,15 @@
</li>
<li>Sensible life-cycle hooks that you understand and remember</li>
<li>
A minimal <code-block inline>html</code-block> function for tagged
templates powered by Preact's tiny (450 Bytes)
Use a custom templating syntax you are familiar with, like
<code-block inline>lit-html</code-block> (<a
href="https://codepen.io/ayoayco-the-styleful/pen/ZEwNJBR?editors=1010"
>example</a
>)
</li>
<li>
Built-in minimal <code-block inline>html</code-block> function for
tagged templates powered by Preact's tiny (450 Bytes)
<a href="http://github.com/developit/htm" target="_blank"
>htm/mini</a
>