News for hackers. Stuff that matters.
Re:New React docs pretend SPAs don't exist anymore by mmis1000 on Sunday March 19, 2023 @09:44AM (#35218831)
The ancient php idea of mix data fetching and rendering instead of wait until everything done for least `TTFB`(Time to first byte) is still hard to do for a lot of js framework today. You generally need to add tons of hack to the framework so you can print your site header before fetch and print the article body completely. (Which a phper will ask you "why you don't just print it?").

React and vue has add limited streaming rendering support recently, but they are still very limited and you need to met some constraint to actually use it.

It's really something `old is new today`.

Re:New React docs pretend SPAs don't exist anymore by Dylan16807 on Sunday March 19, 2023 @10:54AM (#35219561)
"You can't do this old thing, except barely and with great difficulty" sounds like it's close to the opposite of "old is new" to me?