9 ms·
If a load fails due to network issues, the user won't always appreciate that the fault was down to networking. The site might just look broken. If the failure
by drewmclellan 14y ago
If a load fails due to network issues, the user won't always appreciate that the fault was down to networking. The site might just look broken.
If the failure wasn't related to a network issue (either bad data, or perhaps a buggy JS interpreter on their device) then refreshing won't help. The site will still be broken.
My point is that we can plan and build in such a way that JavaScript failures don't break the page. It's a little bit more work (doing things well usually is) but a reusable component library is absolutely the right place to focus that effort. Everyone then gets the benefit with no more work required.