Comment by Spivak
5 years ago
I mean kinda. I wouldn’t bother to check if jQuery was defined if I explicitly included it in a script tag.
5 years ago
I mean kinda. I wouldn’t bother to check if jQuery was defined if I explicitly included it in a script tag.
If you load jQuery as part of your first party bundle, sure. But if you load it from a 3rd party CDN, you can assume it will independently fail at some point. If you’re making something important, the proper resiliency practise would be to gracefully handle it.
Obviously if jQuery is critical to your site working at all there’s not much you can do, but for any dependencies that are not critical or only critical to a small portion of features, it’s a much better UX to degrade only those features.
But, we, as web-devs, know, KNOW, that blockers a) exist and b) are used by clients.
It's like missing a test case that covers 15% of your user base.
Is it 15%?
I have no idea. They don't show up in my analytics...
Looks, it's Friday, I kinda made that up. A system I operate has rate higher than that but a trusted associate has a site with numbers like 2%.
Check your own metrics. It's for sure not zero.
2 replies →
Why not? Log analytics are a thing, you know ....