News for hackers. Stuff that matters.
Re:Things every React.js beginner should know by mattmanser on Monday January 25, 2016 @09:53AM (#10967445)
That's the point that pkrumins/andreyvit are making, code where logic and presentation are mixed turn into a nightmare to maintain. And the practice is now ancient history.

Apart from here it is again...

Re:Things every React.js beginner should know by andreyvit on Monday January 25, 2016 @10:00AM (#10967485)
I explicitly do _not_ state that it applies to React, because there's no domain logic in React components. (Or at least there shouldn't be. It is certainly possible to write a spaghetti component that would do everything.)
Re:Things every React.js beginner should know by gemma on Monday January 25, 2016 @01:52PM (#10969050)
> It is certainly possible to write a spaghetti component that would do everything.

So...like PHP, then?

Re:Things every React.js beginner should know by mercer on Tuesday January 26, 2016 @12:36PM (#10974607)
Not really. You're strongly coaxed into doing it the right way by design, which is not my experience with the old-skool PHP approach.