3 ms·
It seems like you're splitting hairs. React had a new syntax. Svelte has a new syntax too, albeit a familiar one. You can call Svelte's syntax 'templates' if y
by nailer 7y ago
It seems like you're splitting hairs. React had a new syntax. Svelte has a new syntax too, albeit a familiar one.
You can call Svelte's syntax 'templates' if you want, but if you do, you should call JSX a 'template' syntax too. You seem to be saying templates are bad, which is fine, but a vdom and a compiler are both sufficiently different from, say, mustache templates and you seem to be favoring React for no technical reason.
> Familiarity != simplicity.
Sure. But you literally just said:
> That's what happens when you create your own template syntax...again.
Which seems to indicate you preferred familiarity.
I'm not really sure what your argument is except pointing out that you prefer React. OK.
- s_y_n_t_a_x 7y agoJSX is not a template syntax. JSX is entirely optional, it's just syntactic sugar for function calls. JSX is simply a way to write JavaScript that looks like HTML. I know when I develop in React there's no magic. I know JSX are just functions, everything else in the code is as is.
- arxpoetica 7y ago> I know when I develop in React there's no magic. That's the biggest misstatement of the day. ️ We understand that you prefer React, but this is utter...
- s_y_n_t_a_x 7y agoI honestly don't care what you think, I explained my position. I'll continue to use the one framework that supports typing styles, components, and state. I'll continue to use the one framework that can bridge to every major desktop and mobile OS's native UI. I'll continue to use the one framework backed by both Facebook and Microsoft. I'll continue to use simple JS functions to build every part of my app. You can use Svelte, lol. Oh and don't use "we", you're one person.