News for hackers. Stuff that matters.
Re:Things you forgot because of React by tacker2000 on Tuesday August 15, 2023 @06:28PM (#37140105)
You could do that with PHP backend + any frontend framework during the last 2 decades before.

OK, now you can do it using just one JS framework i guess? But is it a revolution? A breakthrough?

Re:Things you forgot because of React by robertoandred on Tuesday August 15, 2023 @11:43PM (#37142619)
You couldn't do that before. Combining a PHP backend and a frontend framework meant you had two different html templates.
Re:Things you forgot because of React by omnimus on Wednesday August 16, 2023 @04:56AM (#37144426)
What are you event talking about? Are you aware that any touring completel language can output JSON... what two different html templates?
Re:Things you forgot because of React by tacker2000 on Wednesday August 16, 2023 @05:47AM (#37144766)
Thats not true. You had one .php file (or more, if you use includes) where everything was located: the HTML, if necessary any JS via <script> and interspersed with <?php … ?> depending on what dynamic stuff you wanted to output.

And this is parsed to one output file that is sent back to the browser.