Sync code, async UI
Podcast |
Frontend First
Media Type |
audio
Categories Via RSS |
Technology
Publication Date |
Jul 06, 2021
Episode Duration |
00:58:33

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:

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.

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:

This episode currently has no reviews.

Submit Review
This episode could use a review!

This episode could use a review! Have anything to say about it? Share your thoughts using the button below.

Submit Review