News for hackers. Stuff that matters.
Re:How I learned to stop worrying and love React by Bahamut on Saturday May 16, 2015 @09:27AM (#9556006)
Agreed - I also found React a bit clunky with the explicit getters/setters compared to Angular.

JSX is a bit of a weakness IMO - I absolutely rather have templates in separate files to reduce complexity/concerns located in a file. It also adds build tool complexity, which there is too much of in frontend currently.

Otherwise, working in React is generally clean, but one can get that benefit by utilizing ES6 modules in general. React brings a lot of good things to the table, which is probably best exemplified by Angular 2 pulling a lot of ideas from it.

Re:How I learned to stop worrying and love React by woah on Saturday May 16, 2015 @11:40AM (#9556475)
Who's stopping you from putting your jsx in a seperate file?
Re:How I learned to stop worrying and love React by Bahamut on Saturday May 16, 2015 @12:16PM (#9556618)
Build tool complexity is what I dislike - it's certainly possible, but the trend I dislike is build tooling increasing complexity of the build system of the frontend, decreasing accessibility for onboarding developers. JSX is an unnecessary offender in this department, bringing us farther away from plain HTML.
Re:How I learned to stop worrying and love React by iyn on Saturday May 16, 2015 @01:50PM (#9556973)
Have you seen Webpack (https://webpack.github.io/)? It's a very powerful tool, but it's quite simple to start with. I can recommend this tutorial: https://webpack.github.io/
Re:How I learned to stop worrying and love React by iyn on Tuesday May 19, 2015 @05:35PM (#9573333)
Ha, I just realized I posted the same link twice. This is the link to the tutorial: https://github.com/petehunt/webpack-howto
Re:How I learned to stop worrying and love React by hobby_body on Sunday May 17, 2015 @03:25AM (#9559061)
Why use JSX at all, then?

    var d = React.DOM;
    d.div(null, 'Hello', d.strong(null, 'World'))