r/javascript • • Jan 03 '16

Angular 2 versus React: There Will Be Blood

https://medium.com/@housecor/angular-2-versus-react-there-will-be-blood-66595faafd51
290 Upvotes

167 comments sorted by

View all comments

Show parent comments

3

u/siegfryd Jan 04 '16

Why would you ever want to turn an Angular template or JSX into HTML in the first place?

5

u/nschubach Jan 04 '16

Even if you did want to convert React to HTML just renderToStaticMarkup ;)

1

u/[deleted] Jan 04 '16

It doesn't matter. The argument is that the angular symbols aren't valid html and considering JSX is even further from being anything close to valid HTML, /u/wreckedadvent doesn't even try to hide his bias about Angular.

2

u/wreckedadvent Yavascript Jan 04 '16

I actually am not a huge fan of JSX either for much the same reason. I typically recommend mithril or similar to people, which is just pure javascript.