Comment

Comment by purerandomness

The problem is that most SPAs today are cargo-culting.

They break middle mouse button (or Ctrl-Click or whatever your favourite "open link in new tab" shortcut is on your Apple computer), at the same time break browser history, and at the same time make you wait for any single interaction you're doing (show spinning wheel for 6 seconds before opening a confirmation modal)

The ideal solution is a) minimize server roundtrips (<100ms) and b) reload parts of the site via AJAX where it makes sense.

No need to shovel 7MB of JavaScript to the user.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton