Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
1–10 of 56 posts
Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#2Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#3Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#4Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#5Seeing the word "controller" in markup makes me want to gag myself.
Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#6Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#7Earlier quoted context omitted.
Why?
Separation of concerns
Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#8Earlier quoted context omitted.
Separation of concerns
The controller is in fact separated. The "ngController" you see referenced in the markup is the link between the view and the separate controller. Any MVC framework you could hold up as an example of proper "separation of concerns" will necessarily have the same link, even if it's implicit. Sometimes it's defined in the controller, sometimes the link is defined in the view, and sometimes you don't see it defined, but…
Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#9+1 for AngularJS
Re: Facebook’s New React JavaScript Library Tutorial Rewritten in AngularJS
#10Seeing the word "controller" in markup makes me want to gag myself.
But I do agree on the point that designers would certainly gag when seeing this... A developer would need to go though the deign and insert all the hooks. This step is unavoidable with any web application framework.
That being said, I think a designer would puke if they were required to write React components.