News for hackers. Stuff that matters.
Re:Things every React.js beginner should know by rakoo on Monday January 25, 2016 @08:23AM (#10967001)
Take a look at the talk where the concepts behind React are introduced:

https://www.youtube.com/watch?v=x7cQ3mrcKaY

It turns out there is no good reason to separate code and templates, because they are intrisically linked; one cannot work without the other. The separation should rather happen on units that are really independent, such as 2 separate pages of your application.

Re:Things every React.js beginner should know by kls on Monday January 25, 2016 @09:43AM (#10967391)
Yep, it was an old rule for an old time when back-end functionality, UI functionality and presentation could all get jammed into one *SP or PHP page. While the times changed the common wisdom remained. There is no reason for a component that's sole purpose is to be a component should not be self contained. It is a black box to the consumers.