News for hackers. Stuff that matters.
Re:We Fell Out of Love with Next.js and Back in Love with Ru... by WuxiFingerHold on Saturday May 03, 2025 @11:27PM (#43884246)
There's no way around waiting for the data to arrive. Being it JSON for SPA or another page for MPA / SSR. For MPA the browser provides the loading spinner. Some SPA router implementations stay on the current page and route to the new one only after all the data has arrived (e.g. Sveltekit).
Re:We Fell Out of Love with Next.js and Back in Love with Ru... by albedoa on Sunday May 04, 2025 @01:28AM (#43884709)
> For MPA the browser provides the loading spinner.

Yes, that one. I want that experience please.

Re:We Fell Out of Love with Next.js and Back in Love with Ru... by grey-area on Sunday May 04, 2025 @01:32AM (#43884722)
With SSR all the data usually arrives in 100-200ms, in SPAs all the data tends to take seconds to arrive on first load so they resort to spinners, loading bars etc.