Most major frameworks do that. Barring some devs who navigate using onClick over a link despite having that option.
Outside of some lasting mistakes made a decade ago, is this still an issue?
On top of that, “SPA” is a misnomer, as many frameworks give you a hybrid anyway.