Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !
Should a navigation and a refresh show the same page?
Manage episode 377524013 series 1635850
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:
201 tập
Manage episode 377524013 series 1635850
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:
201 tập
Все серии
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.