Thomas
Thomas

Reputation: 147

What speaks against single-page apps from a user experience point of view?

I like them more and wonder why they are not more common. Explanations involving caching or SEO make sense to me, but I don't see them as directly driven by user experience considerations. In which way are traditional sites with page reloads better for the user?

Upvotes: 5

Views: 69

Answers (1)

Matti Virkkunen
Matti Virkkunen

Reputation: 65156

Personally I think the best argument for normal page reloads from a user's perspective is that when you do that it's much harder to break many basic browser functions. In general the back/forward buttons work, bookmarking works, copying and pasting links works, history works, page titles work, getting an error page when a server call fails works, everything just works as expected. For free.

I have seen single page application implemented in a way that breaks one or more of the above more times than I can count.

It's naturally not a problem if you get it just right (and then it will in general be nicer to use), but not all sites do.

Just as an example here's a screenshot how a site that is a SPA and justifiedly so (they have a music player that you don't want to interrupt with page loads), broke a basic browser function in a way they might not even have thought of. I was trying to find a song I recently listened to but couldn't remember the exact title... but because of the SPAness the page titles weren't properly reflected in my browser history.

SoundCloud browser history screenshot

Upvotes: 3

Related Questions