Hacker News new | ask | show | jobs
by Raed667 1216 days ago
I don't want to dismiss Svelete entierly but this code `<button on:click={handleClick}>` smells like old bad ideas instead of fresh air.

It is yet another custom templating language with its unique limits [0].

If I have an option i'll stick with JSX.

[0] https://github.com/sveltejs/svelte/issues/5112#

1 comments

> If I have an option i'll stick with JSX.

"I don't like the way the garnish looks they put on my ribeye, so I'm just gonna head over to McDonalds."

JSX doesn't even parse the same as HTML5; it matches XHTML from decades ago. Again, the source doesn't match what the target uses (browsers). It's close, but not the same.

A Big Mac is close to a good burger, but it's not a good burger.