4 ms·
> I call it tangled as it's mixing two flavors in one "view", whether you like it or not: JS and HTML. Doesn't Angular mix HTML and JS too, except in the HTML
by vdnkh 11y ago
> I call it tangled as it's mixing two flavors in one "view", whether you like it or not: JS and HTML.
Doesn't Angular mix HTML and JS too, except in the HTML file?
- paulddraper 11y agoYeah. The only difference is that React lends itself to arbitrary JS, while Angular is more limited.
- EvanPlaice 11y ago> 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.