View Single Post
Old 01-22-2021, 03:15 PM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Quote:
Originally Posted by Hamilton Steele View Post
I'm not an expert but it seems to me that everything to do with phones is a cluster fuck. So for the site that I'm working on I plan on having a legacy side for everyone with a traditional computer. But, I'll let WordPress handle all the phone chaos
It's not so much the phones, it's the browsers. They've come a long way in recent years, but still it's hard to know what to support and what not to.

E.g. I've just discovered that older versions of Edge do support the IntersectionObserver API but they don't support the ForEach function for iterating over the nodelist. Which is such a pain in the ass. Do I rewrite my JS code just for that browser, or do I say fuck Microsoft, and in any case why would anyone still be using an old version of Edge (or any version for that matter)?

And hopefully one day soon Safari will be able to do native lazy loading and I won't need the fallback code....
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote