Skip to content
Sync code, async UI episode artwork

EPISODE · Jul 6, 2021 · 58 MIN

Sync code, async UI

from Frontend First · host Frontend First

Sam and Ryan continue to put some more pieces of the Suspense puzzle together as they talk about how throwing promises enables devs to write synchronous code while still building asynchronous (non-blocking) UI. They also talk about sharing state across pages in Next.js. Topics include: 0:00 – Intro 1:08 – Sharing state across pages in Next.js 9:03 – Confronting JS object identity up-front in React, and buiding consistent trees of different versions of your UI in parallel 25:55 – How Suspense lets you represent async UI with sync code 42:00 – Interruptibility and push vs. pull 49:20 – The problem of invalidation, and the Suspense cache Links: Suspense’s contract New Suspense SSR Architecture in React 18 Built-in Suspense Cache

Episode metadata supplied by the publisher feed · Published Jul 6, 2021

Embed this episode

Sam and Ryan continue to put some more pieces of the Suspense puzzle together as they talk about how throwing promises enables devs to write synchronous code while still building asynchronous (non-blocking) UI. They also talk about sharing state across pages in Next.js.

Distinct summary based on available episode metadata or transcript content.

Ready to play

Sync code, async UI

0:00 58:33

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Frontend First?

This episode is 58 minutes long.

When was this Frontend First episode published?

This episode was published on July 6, 2021.

Can I download this Frontend First episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!