Re:The Truth about Svelte
by ttfkam on Thursday July 13, 2023 @05:25PM
(#36716204)
It does support onclick though. This isn't a far off derivation. Also "|once" is a whole lot cleaner and more terse than the "once" variant of addEventListener, to be sure.
Anyone who already knows HTML and native event handling could pick this up in less than 5 minutes. Good enough.
Anyone who already knows HTML and native event handling could pick this up in less than 5 minutes. Good enough.