DEV Community

Discussion on: I’m a digital nomad and author of High Performance Android Apps, ask me anything!

Collapse
 
etportis profile image
Eric Portis

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?

Collapse
 
dougsillars profile image
Doug Sillars

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...