MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/3imvqe/stop_using_react_for_everything/cui4yo8/?context=3
r/javascript • u/georgehotelling • Aug 27 '15
131 comments sorted by
View all comments
1
Template in the same file as my rendering logic and listeners. That right there is my reason to use react for everything.
3 u/lmorchard Aug 28 '15 So, put your template in the same file. ES6 template strings are great for that. You can get those same benefits from something simpler like, say, ampersand-view.
3
So, put your template in the same file. ES6 template strings are great for that. You can get those same benefits from something simpler like, say, ampersand-view.
1
u/Poop_is_Food Aug 27 '15
Template in the same file as my rendering logic and listeners. That right there is my reason to use react for everything.