Hacker News new | past | comments | ask | show | jobs | submit login

I'm all for tightly coupled display-logic and its markup; I just don't think it should reside in a JS(X) file unless it's generating a single tag.

While I agree that other MVC frameworks are not great (I've seen many of Angular's pains & weaknesses), I think this was a step in the wrong direction.

http://jsfiddle.net/vla/Cdrse/(from https://medium.com/make-your-own-apps/e71bcedc36b) versus https://github.com/petehunt/react-tutorial/blob/master/scrip...




I'm curious, what do you mean by "generating a single tag"?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: