dy / spect

Observable selectors in DOM
https://dy.github.io/spect
MIT License
76 stars 8 forks source link

h: drop parser, use htm #225

Closed dy closed 4 years ago

dy commented 4 years ago

That is just slightly slower to have spect/h as hyperscript, and for html - htm.bind(h). The only problem is that HTM syntax is not fully compatible with html.

dy commented 4 years ago

Btw that significantly reduces the size

dy commented 4 years ago

And performance is only ~5-10% slower than lit-html.