I don't see any HTML in the examples. Just Javascript. I'm very confused.
Edit: Or JSX. I dunno. I successfully avoided learning react so far.
Edit: Or JSX. I dunno. I successfully avoided learning react so far.
I assume that by default all that JS runs on the server and HTML gets returned to the browser.
They seem to be using tagged template literals (like lit-html does). They are essentially functions.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
What examples are you referring to?
GitHub says ~30% of that repository is JavaScript code. Seems strange for a HTML-first framework.
https://github.com/enhance-dev/enhance-starter-project/blob/...