A Tip for Properly Handling Loading States in Web Apps

This isn’t something I was going to blog about, but after seeing the same issue a few times recently (although to be fair, last in a mobile game), I thought I’d share it with my audience. I apologize if the title isn’t the best as it was a hard issue to describe, so let me begin by demonstrating the problem, and then the (hopefully) obvious solution. Loading Data # Here’s a super simple example of a web page that loads some data from the API. In this case, it’s the Star Wars API which, unfortunately, has been pretty slow recently. On the flip side, that helps illustrate that issue. The HTML is just an h2 and an empty ul and the JavaScript is fairly simple: document.addEventListener('DOMContentLoaded',... more →
Posted in: JavaScript

H&M and other Western brands gone from Apple Maps and other apps in China – The Verge

H&M and other Western brands gone from Apple Maps and other apps in China  The Verge H&M Is Erased From Chinese E-Commerce Over Xinjiang Stance  The Wall Street Journal H&M gets wiped off major Chinese apps after an old statement about forced labor reappears  CNBC China erasing H&M from internet amid Xinjiang backlash  wpta21.com View Full Coverage on Google News “map app” – Google News… more →
Posted in: Interactive Maps

Thursday Road Conditions; Maps and Apps: MO-KS-OK-AR; Continually Updating Cancellations and Closings – KSNF/KODE – FourStatesHomepage.com

Thursday Road Conditions; Maps and Apps: MO-KS-OK-AR; Continually Updating Cancellations and Closings  KSNF/KODE – FourStatesHomepage.com “map app” – Google News… more →
Posted in: Interactive Maps
1 2 3 11