Using NetInfo API to improve user experience
blog.algolia.com