News for hackers. Stuff that matters.
Re:Why I moved from Angular to React by scotty79 on Monday February 06, 2017 @07:49PM (#13585916)
Problem with everything in HTML was that you couldn't split HTML into small meaningful composable parts.

JS is actual programming language an you can split out styles to separate style library without using .css files.

You could also split out render function (that uses JSX) or its parts to separate file. But you'd rather keep it close to logic that interacts with it and keep the whole component, logic plus presentation small enough to understand with a glance.

There are no comments on this comment yet.