I'm really excited about the NetInfo API but haven't found too many uses for it, in production work. What's the coolest use case you've seen for the NetInfo API?
Doug is a seasoned developer relations leader - most recently with several startups. He's a Google Developer Expert and an O’Reilly author. Available for consultations.
I haven't seen alot of use of it in production either (I should probably look in the HTTPArchive for that...)
However, I see a great possibility for images or video - if the browser is telling you the average download speed - you can customize the content for the network your customers are on.
In the news the last week is that mobile Chrome users with data saver mode on - if the effective connection is 2G - the browser will no longer download JS. Tim Kadlec has a good write up on that: timkadlec.com/remembers/2018-09-06...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm really excited about the NetInfo API but haven't found too many uses for it, in production work. What's the coolest use case you've seen for the NetInfo API?
I haven't seen alot of use of it in production either (I should probably look in the HTTPArchive for that...)
However, I see a great possibility for images or video - if the browser is telling you the average download speed - you can customize the content for the network your customers are on.
In the news the last week is that mobile Chrome users with data saver mode on - if the effective connection is 2G - the browser will no longer download JS. Tim Kadlec has a good write up on that: timkadlec.com/remembers/2018-09-06...