Should a navigation and a refresh show the same page?
Podcast |
Frontend First
Media Type |
audio
Categories Via RSS |
Technology
Publication Date |
Sep 20, 2023
Episode Duration |
00:45:05

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 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.

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:

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