Hacker News new | ask | show | jobs
by jmull 861 days ago
You're just pointing out that svelte isn't 100% the same as HTML...

That is true... but of course, if you wanted 100% HTML, you aren't looking for a framework at all.

The approach in svelte is that you write the HTML parts of your app in HTML. It sounds almost silly to say -- that should almost be a silly circular statement -- but with some popular frameworks you write the HMTL for your app in something sorta like HTML but with various syntactic and semantic differences.

(You also write most of your UI logic in Javascript or typescript. The amount of syntax that is svelte-specific is pretty small, though semantically, the Javascript you write for the UI is built on the svelte concepts.)