Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
async

7 Articles
{
,

}
Direct link to the article Understanding Async Await
async await JavaScript promises

Understanding Async Await

When writing code for the web, eventually you’ll need to do some process that might take a few moments to complete. JavaScript can’t really multitask, so we’ll need a way to handle those long-running processes.

Async/Await is a way to …

Avatar of Sarah Drasner
Sarah Drasner on Jan 9, 2020
Direct link to the article Adding Dynamic And Async Functionality To JAMstack Sites
async jamstack

Adding Dynamic And Async Functionality To JAMstack Sites

Direct Link

Jason Lengstorf:

Here’s an incomplete list of things that I’ve repeatedly heard people claim the JAMstack can’t handle that it definitely can:

  • Load data asynchronously
  • Handle processing files, such as manipulating images
  • Read from and write to a database
  • Handle
…
Avatar of Chris Coyier
Shared by Chris Coyier on Jan 2, 2020
Direct link to the article Fetching Data in React using React Async
api async react

Fetching Data in React using React Async

You’re probably used to fetching data in React using axios or fetch. The usual method of handling data fetching is to:

  • Make the API call.
  • Update state using the response if all goes as planned.
  • Or, in cases where errors
…
Avatar of Kingsley Silas
Kingsley Silas on Jul 31, 2019
Direct link to the article Why Using reduce() to Sequentially Resolve Promises Works
async JavaScript promises reduce

Why Using reduce() to Sequentially Resolve Promises Works

Writing asynchronous JavaScript without using the Promise object is a lot like baking a cake with your eyes closed. It can be done, but it’s gonna be messy and you’ll probably end up burning yourself.

I won’t say it’s necessary…

Avatar of Alex MacArthur
Alex MacArthur on Oct 17, 2018
Direct link to the article What are Durable Functions?
async durable functions orchestrator functions serverless

What are Durable Functions?

Oh no! Not more jargon! What exactly does the term Durable Functions mean? Durable functions have to do with Serverless architectures. It’s an extension of Azure Functions that allow you to write stateful executions in a serverless environment.

Think of …

Avatar of Sarah Drasner
Sarah Drasner on Oct 9, 2018
async Indexeddb offline service workers

Making your web app work offline, Part 1: The Setup

This two-part series is a gentle introduction to offline web development. Getting a web application to do something while offline is surprisingly tricky, requiring a lot of things to be in place and functioning correctly. We’re going to cover all …

Avatar of Adam Rackis
Adam Rackis on Dec 6, 2017 (Updated on Dec 7, 2017)
async await es2017

Using ES2017 Async Functions

ES2017 was finalized in June, and with it came wide support for my new favorite JavaScript feature: async functions! If you’ve ever struggled with reasoning about asynchronous JavaScript, this is for you. If you haven’t, then, well, you’re probably …

Avatar of Eric Windmill
Eric Windmill on Aug 14, 2017 (Updated on Aug 21, 2017)

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Free Credit Offer
Minisites
  • The Power of Serverless
  • Upcoming Conferences
  • Coding Fonts
  • The Greatest CSS Tricks
Contact
  • Email
  • Guest Writing
Follow
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top