EPISODE · Sep 20, 2023 · 45 MIN
Should a navigation and a refresh show the same page?
from Frontend First · host Frontend First
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 - Intro 1:00 - Suspense boundary identity and the Await component 11:07 - How to refresh RSC using a Server Action 27:17 - The difference between a navigation and a page refresh Links: Ryan’s Data Fetching with RSC course Refresh App Router code recipe
Embed this episode
What this episode covers
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.
Ready to play
Should a navigation and a refresh show the same page?
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.