Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

Should a navigation and a refresh show the same page?

Should a navigation and a refresh show the same page?

FromFrontend First


Should a navigation and a refresh show the same page?

FromFrontend First

ratings:
Length:
45 minutes
Released:
Sep 20, 2023
Format:
Podcast episode

Description

Ryan and Sam talk about how to invalidate Next.js’ client-side cache when a different session makes changes to backend data, and ultimately discuss whether clicking a link to a URL vs. hitting refresh on that same URL should render the same page if no backend data has changed.Topics include:0:00 - Intro1:00 - Suspense boundary identity and the Await component11:07 - How to refresh RSC using a Server Action27:17 - The difference between a navigation and a page refreshLinks:Ryan’s Data Fetching with RSC courseRefresh App Router code recipe
Released:
Sep 20, 2023
Format:
Podcast episode

Titles in the series (100)

A podcast about modern UI development on the web. Hosted by Sam Selikoff and Ryan Toronto.