Artwork

Konten disediakan oleh Frontend First, Sam Selikoff, and Ryan Toronto. Semua konten podcast termasuk episode, grafik, dan deskripsi podcast diunggah dan disediakan langsung oleh Frontend First, Sam Selikoff, and Ryan Toronto atau mitra platform podcast mereka. Jika Anda yakin seseorang menggunakan karya berhak cipta Anda tanpa izin, Anda dapat mengikuti proses yang dijelaskan di sini https://id.player.fm/legal.
Player FM - Aplikasi Podcast
Offline dengan aplikasi Player FM !

What’s the link between Server Components and Suspense for Data Fetching?

1:12:36
 
Bagikan
 

Manage episode 321258172 series 1635850
Konten disediakan oleh Frontend First, Sam Selikoff, and Ryan Toronto. Semua konten podcast termasuk episode, grafik, dan deskripsi podcast diunggah dan disediakan langsung oleh Frontend First, Sam Selikoff, and Ryan Toronto atau mitra platform podcast mereka. Jika Anda yakin seseorang menggunakan karya berhak cipta Anda tanpa izin, Anda dapat mengikuti proses yang dijelaskan di sini https://id.player.fm/legal.

Sam and Ryan talk about why Suspense for Data Fetching isn’t ready yet, and how both it and the Server Components feature of React 18 rely on the ability to evict a cache that’s internal to React. They also talk about Transitions.

Topics include:

  • 0:00 - Intro
  • 5:19 - Using startTransition with a router
  • 9:36 - How React 18 yields
  • 21:37 - Why both Suspense for Data Fetching and Server Components need a way to invalidate React’s cache
  • 37:24 - How Server Components can remove the need for explicit API calls without sacrificing any of React’s composability
  • 1:01:00 - Real-world problems concurrent features address
  • 1:03:20 - Moving state from React to the URL

Links:

  continue reading

185 episode

Artwork
iconBagikan
 
Manage episode 321258172 series 1635850
Konten disediakan oleh Frontend First, Sam Selikoff, and Ryan Toronto. Semua konten podcast termasuk episode, grafik, dan deskripsi podcast diunggah dan disediakan langsung oleh Frontend First, Sam Selikoff, and Ryan Toronto atau mitra platform podcast mereka. Jika Anda yakin seseorang menggunakan karya berhak cipta Anda tanpa izin, Anda dapat mengikuti proses yang dijelaskan di sini https://id.player.fm/legal.

Sam and Ryan talk about why Suspense for Data Fetching isn’t ready yet, and how both it and the Server Components feature of React 18 rely on the ability to evict a cache that’s internal to React. They also talk about Transitions.

Topics include:

  • 0:00 - Intro
  • 5:19 - Using startTransition with a router
  • 9:36 - How React 18 yields
  • 21:37 - Why both Suspense for Data Fetching and Server Components need a way to invalidate React’s cache
  • 37:24 - How Server Components can remove the need for explicit API calls without sacrificing any of React’s composability
  • 1:01:00 - Real-world problems concurrent features address
  • 1:03:20 - Moving state from React to the URL

Links:

  continue reading

185 episode

Semua episode

×
 
Loading …

Selamat datang di Player FM!

Player FM memindai web untuk mencari podcast berkualitas tinggi untuk Anda nikmati saat ini. Ini adalah aplikasi podcast terbaik dan bekerja untuk Android, iPhone, dan web. Daftar untuk menyinkronkan langganan di seluruh perangkat.

 

Panduan Referensi Cepat