Player FM 앱으로 오프라인으로 전환하세요!
The Philosophy of Next.js
Manage episode 408315435 series 1635850
Sam and Ryan discuss the core values of the Next.js framework, and how those values motivate several of the framework’s design decisions. They talk about caching, why layouts don’t have access to the URL, and why the router doesn’t expose navigation events, as well as how developers should think about extending Next’s functionality with their own application code.
Topics include:
- 0:00 - Intro
- 2:58 - Why don’t layouts re-render in Next.js?
- 7:10 - Push-based vs. pull-based rendering
- 8:56 - Thinking about re-renders in a pure React app
- 11:07 - Why Server Actions need to call the revalidate* APIs
- 12:26 - Why doesn’t Next.js pass the request to every page and layout?
- 31:40 - Immediate-mode rendering vs. “Do the least amount of work possible”
- 51:54 - Is opting-in to more re-renders framework fighting?
- 53:44 - Helping users by communicating the philosophy
- 56:25 - Why doesn’t Next.js expose global router events?
- 1:00:17 - Why it’s important to understand Next’s design decisions when choosing it for your next project
196 에피소드
Manage episode 408315435 series 1635850
Sam and Ryan discuss the core values of the Next.js framework, and how those values motivate several of the framework’s design decisions. They talk about caching, why layouts don’t have access to the URL, and why the router doesn’t expose navigation events, as well as how developers should think about extending Next’s functionality with their own application code.
Topics include:
- 0:00 - Intro
- 2:58 - Why don’t layouts re-render in Next.js?
- 7:10 - Push-based vs. pull-based rendering
- 8:56 - Thinking about re-renders in a pure React app
- 11:07 - Why Server Actions need to call the revalidate* APIs
- 12:26 - Why doesn’t Next.js pass the request to every page and layout?
- 31:40 - Immediate-mode rendering vs. “Do the least amount of work possible”
- 51:54 - Is opting-in to more re-renders framework fighting?
- 53:44 - Helping users by communicating the philosophy
- 56:25 - Why doesn’t Next.js expose global router events?
- 1:00:17 - Why it’s important to understand Next’s design decisions when choosing it for your next project
196 에피소드
Tous les épisodes
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.