3 ms·
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 agre
by icedog 13y ago
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 http://jsfiddle.net/vla/Cdrse/(from https://medium.com/make-your-own-apps/e71bcedc36b https://medium.com/make-your-own-apps/e71bcedc36b)
versus
https://github.com/petehunt/react-tutorial/blob/master/scripts/example.js https://github.com/petehunt/react-tutorial/blob/master/scrip...
- peterhunt 13y agoI'm curious, what do you mean by "generating a single tag"?