News for hackers. Stuff that matters.
Re:Things every React.js beginner should know by lucaspiller on Monday January 25, 2016 @09:14AM (#10967242)
Yes, the JSX is compiled (or "transformed") to JavaScript which creates components internally in React:

https://babeljs.io/repl/#?experimental=true&evaluate=true&lo...

I felt the same as OP when I first started using React, although it makes more sense now I've played with it, I'm still not sure about mixing concerns (code and view) in the same file. Especially when you start talking about CSS too...

https://speakerdeck.com/vjeux/react-css-in-js

There are no comments on this comment yet.