3 ms·
Not specific to the submission, but I've basically lost all trust in loading spinners. Too many websites keep showing the loading animation indefinitely if any
by elaus 3y ago
Not specific to the submission, but I've basically lost all trust in loading spinners.
Too many websites keep showing the loading animation indefinitely if anything unexpected fails (invalid response from backend, broken connection, …).
It's not even a problem with the concept itself (binary is/isn't loading), it's just bad implementations that have ruined it for me subconsciously.
- 9dev 3y agoAnd it’s so easy: loading = true try { await fetch(…) } finally { loading = false } …while the error bubbles up to some global handler. This is such a low hanging fruit for the user experience…
- JoeyJoJoJr 3y agoTo be fair, it usually starts out that easy, until you require multiple fetch requests and conditional logic for separate CRUD operations.
- internetter 3y agoI've worked in codebases where this bubbling is trivial, and ones where its impossible. The key is abstractions.