News for hackers. Stuff that matters.
Re:State of JavaScript 2019 by s_y_n_t_a_x on Thursday December 19, 2019 @12:47PM (#21837262)
JSX 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.

Re:State of JavaScript 2019 by arxpoetica on Thursday December 19, 2019 @01:08PM (#21837493)
> 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...

Re:State of JavaScript 2019 by s_y_n_t_a_x on Thursday December 19, 2019 @01:14PM (#21837552)
I 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.