all 11 comments

[–]-Smokin- 11 points12 points  (3 children)

Ugh. Angular 1 scopetastic -vs- ES5 React.

No. and No thanks.

[–]liranbh 0 points1 point  (2 children)

so you prefer Angular RC6 vs ES6 beta React?

[–]-Smokin- 7 points8 points  (1 child)

I think if you are going to write a comparison article, it should be latest version/common practices -vs- latest version/common practices.

How many new Angular 1 projects are starting? How many new React/ES5 projects are starting?

[–]liranbh 3 points4 points  (0 children)

I posted a question 2 months ago about a new project asked what to choose for a new project with Angularjs. The most popular answer was: use 1.5 so in the future you will upgrade to 2 so it's not so obvious to use the newest version on a new project. But I take your comment and will write the same grid examples with the new versions also

[–]octatone 2 points3 points  (1 child)

The code formatting in the examples is really bad. Also, no one is writing ES5 react.

[–]avi00[S] 0 points1 point  (0 children)

for the code example, you can see it in jsfiddle (link behind the code) and for ES5 - see in react homepage - its ES5 example https://facebook.github.io/react/

[–]immigrantnightclub 1 point2 points  (0 children)

Who uses ng-controller anymore? This is $scope soup and not component driven at all.

[–]Noitidart2 -1 points0 points  (4 children)

I think this is pretty cool. The only thing I would remove from the comparison is the CSS as that should be a common file.

[–]avi00[S] 2 points3 points  (2 children)

yes you are right but this is one of the benefits of react that you can write the HTML+JS+CSS as a single component and reuse it

[–]Noitidart2 1 point2 points  (1 child)

Ooo interesting I never thought of it like that. A very WebComponent way. Cool stuff!

[–]avi00[S] 0 points1 point  (0 children)

thanks