Skip to content

Comment on Why I hate your Single Page App (2016)

Comments

This may say 2016, but so many of these points still apply today. My biggest issue with these JavaScript-first sites (SPAs and React/Angular/Whatever) is that they break in weird and unpredictable ways. Some of my common complaints that I still see often:

- Pages never fully load because some JavaScript file timed out - Browser history disappearing - Middle-clicking or right-clicking links doesn't work - Start typing in a form field while the page hasn't fully loaded, and then the form field clears itself when the page does finally load - Modal screens only partly load or leave artefacts on-screen when dismissed (e.g. a random spinner icon on the page, or a part of the screen stays dimmed after modal is gone) - Copy/pasting into form fields doesn't trigger actions (e.g. buttons stay disabled while they wait for a key-press to activate) - Password manager autofill doesn't work because of some weird JavaScript validation script - And. So. Much. More.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.