A Tip for Properly Handling Loading States in Web Apps / / No Comments 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 Tagged with: apps, handling, Loading, properly, States
Simplify Your File Handling With Filestack Workflows (Sponsored) / / No Comments Automation is a really important skill for engineers, especially when it comes to working with various file types. The more you accept for input, and the more you automate, the better end output you can offer. Filestack’s workflows allow developers to define automated tasks using a their specialized UI. With no coding required, it’s easy to create a document workflow and scan every assignment for viruses, quarantine it until it can be reviewed, and alert the sender of the issue so that no work is late. After signing up for a free Filestack account, you can shift to creating your own workflows. When creating your workflow, you can choose from dozens of UI items that represent... more → Posted in: JavaScript Tagged with: file, Filestack, handling, Simplify, Sponsored, Workflows
CheerpJ Java-to-JavaScript compiler boosts exception handling, native methods – InfoWorld / / No Comments CheerpJ Java-to-JavaScript compiler boosts exception handling, native methods InfoWorld “JavaScript” – Google News… more → Posted in: JavaScript Tagged with: boosts, CheerpJ, compiler, exception, handling, InfoWorld, JavatoJavaScript, methods, native