3 ms·
None of that matters to a React developer. If you know JavaScript, you know JSX.
by greatwhitenorth 6y ago
None of that matters to a React developer. If you know JavaScript, you know JSX.
- untog 6y agoI don't understand how that is relevant to the quote I was replying to: "React is great because it's vanilla Javascript". Vanilla Javascript works in a browser with zero transpiling. That's important. (also, "if you know JavaScript you know JSX" is objectively untrue! There are plenty of JS developers that don't work with JSX)
- greatwhitenorth 6y agoWe're talking two different things. I'm talking about the developer perspective. You're talking about browser. If a JS developer doesn't work or understand JSX, they don't understand the fundamental concept of JavaScript which is what an expression is. "if you know JavaScript you know JSX" - JSX is just a JavaScript expression. There is nothing more to it.
- untog 6y ago> We're talking two different things. I'm talking about the developer perspective. You're talking about browser. I'm not. I'm talking about a programming language. It has a spec. "if you know JavaScript you know JSX" - JSX is just a JavaScript expression. This is nonsense. Where is JSX in the JavaScript spec?
- greatwhitenorth 6y agoYou talk nonsense just for the sake of it. I never said JSX is in the spec. If you know JavaScript basics (what an expression is), it takes a minute to understand JSX.
- untog 6y agoYou're talking about something different to me then criticising me for it. The quote I was originally replying to was: > React is great because it's vanilla Javascript React is not vanilla Javascript. "it takes a minute to learn JSX" isn't disgreeing with that statement.