News for hackers. Stuff that matters.
Re:First Impressions Using React Native by tootie on Friday February 06, 2015 @08:05PM (#9012606)
JSX mixing presentation logic and views seems to me like they have reinvented PHP. PHP is derided for this, but also for it's shaky implementation and semantics. JSX seems like Good PHP and that's a big deal because PHP is wildly successful despite being awful.
Re:First Impressions Using React Native by nkohari on Friday February 06, 2015 @10:25PM (#9012946)
JSX isn't really HTML, though. It's a way to describe React components in a familiar syntax that resembles HTML. It's a far cry from concatenating strings of HTML like you do in PHP.