News for hackers. Stuff that matters.
Re:New React docs pretend SPAs don't exist anymore by layer8 on Friday March 17, 2023 @07:38PM (#35204358)
> Little things like maintaining scroll position in the page's navigation bar […] are only achievable with a SPA-based approach.

That’s not true. I wrote non-SPA web applications in the mid-aughts that maintained scroll position throughout server roundtrips, using JavaScript and storing the current scroll position in hidden fields upon submit. Even multiple scroll positions for nested panes. This was encapsulated in a server-side HTML rendering framework.

There are no comments on this comment yet.