Re:The Truth about Svelte
by Bilal_io on Wednesday July 12, 2023 @10:22AM
(#36694981)
I agree with you, it looks weird, but my point was that it's correct HTML syntax, even though you cannot expect it to work if you open an Angular template in a browser, but an HTML parser can tell you it's syntactically correct.
[ Parent
| on HN ]
Oh, that makes sense, I get you now.
This is true of Svelte's syntax as well, is it not?
Not really on:click is not valid HTML