4 ms·
Yeah, I was shocked when I first heard of it. But when I thought it about it, it makes sense: https://www.reddit.com/r/reactjs/comments/58wmnz/so_reactjs_is_bas
by hosh 8y ago
Yeah, I was shocked when I first heard of it. But when I thought it about it, it makes sense: https://www.reddit.com/r/reactjs/comments/58wmnz/so_reactjs_is_basically_just_clientside_php/ https://www.reddit.com/r/reactjs/comments/58wmnz/so_reactjs_...
- hosh 8y agoHere's another comment from that reddit thread: "If you're at all familiar with the history of React, there's actually some amount of truth to this. React grew out of an internal PHP extension at Facebook called XHP. See the recent post describing React's history at https://facebook.github.io/react/blog/2016/09/28/our-first-50000-stars.html https://facebook.github.io/react/blog/2016/09/28/our-first-5... for more details." "That said, the parallels only go so far. PHP is frequently rather unstructured, while React lends itself to some very specific structures. I don't think I'd necessarily say that PHP typically involves "recursively breaking down parts of the page". But sure, some similarities. (Then again, just about anything that involves template-ish work has some similarities... )"
- tptacek 8y agoThat blog post section describes JSX, not React. JSX is just a notation.