Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
async

7 Articles
{
,

}
Image
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 …

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

Adding Dynamic And Async Functionality To JAMstack Sites

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
…
Image
Chris Coyier on Jan 2, 2020
Image
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
…
Image
Kingsley Silas on Jul 31, 2019
Image
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…

Image
Alex MacArthur on Oct 17, 2018
Image
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 …

Image
Sarah Drasner on Oct 9, 2018
Image
Direct link to the article Making your web app work offline, Part 1: The Setup
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 …

Image
Adam Rackis on Dec 6, 2017 Updated on Dec 7, 2017
Image
Direct link to the article Using ES2017 Async Functions
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 …

Image
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
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top
Advertisement