by koonsolo · 3y ago · 0 comments
They both render HTML and do it in a very different way.
So either it's logical to compare the two, or the internet is just full of idiots like me and the parent poster :D.
The easiest way to explain it is that you could reasonably use react within a PHP project.
I wouldn't use the term "idiot" but rather "ignorant". A good article that answers the PHP vs React question would be mostly explaining the differences in the function and usage of both tools.
For me, not being able to compare the two is like saying: You cannot compare a horse with a car as a means of transportation because a car is not an animal.
For me, I don't care one is a programming language and the other is a framework. For me they are both ways to generate HTML. PHP was/is mainly intended to generate HTML. It started as "Personal Home Page" and now is "Hypertext Preprocessor".