Re:Angular 2 versus React
by EvanPlaice on Monday January 04, 2016 @03:11PM
(#10838174)
> Doesn't Angular mix HTML and JS too, except in the HTML file?
Angular2 doesn't. Like React it uses a HTML-like templating syntax to generate views. Nothing is mixed in Angular2, everything is defined in JS and rendered as HTML.
Re:Angular 2 versus React
by paulddraper on Monday January 04, 2016 @02:59PM
(#10838080)
Yeah. The only difference is that React lends itself to arbitrary JS, while Angular is more limited.
Doesn't Angular mix HTML and JS too, except in the HTML file?