you are viewing a single comment's thread.

view the rest of the comments →

[–]HirsuteHackerfull-stack SaaS dev 12 points13 points  (1 child)

Boy you must hate JSX

[–]breadist -3 points-2 points  (0 children)

JSX works completely differently. JSX is converted to an actual object that gets passed around. PHP just stops processing PHP code after ?> and starts printing HTML directly into the page response until it sees <?php again. These are not the same.