Artwork

Content provided by Frontend First, Sam Selikoff, and Ryan Toronto. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Frontend First, Sam Selikoff, and Ryan Toronto or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ro.player.fm/legal.
Player FM - Aplicație Podcast
Treceți offline cu aplicația Player FM !

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

1:12:36
 
Distribuie
 

Manage episode 321258172 series 1635850
Content provided by Frontend First, Sam Selikoff, and Ryan Toronto. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Frontend First, Sam Selikoff, and Ryan Toronto or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ro.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 episoade

Artwork
iconDistribuie
 
Manage episode 321258172 series 1635850
Content provided by Frontend First, Sam Selikoff, and Ryan Toronto. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Frontend First, Sam Selikoff, and Ryan Toronto or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ro.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 episoade

Toate episoadele

×
 
Loading …

Bun venit la Player FM!

Player FM scanează web-ul pentru podcast-uri de înaltă calitate pentru a vă putea bucura acum. Este cea mai bună aplicație pentru podcast și funcționează pe Android, iPhone și pe web. Înscrieți-vă pentru a sincroniza abonamentele pe toate dispozitivele.

 

Ghid rapid de referință