Artwork

Innhold levert av Frontend First, Sam Selikoff, and Ryan Toronto. Alt podcastinnhold, inkludert episoder, grafikk og podcastbeskrivelser, lastes opp og leveres direkte av Frontend First, Sam Selikoff, and Ryan Toronto eller deres podcastplattformpartner. Hvis du tror at noen bruker det opphavsrettsbeskyttede verket ditt uten din tillatelse, kan du følge prosessen skissert her https://no.player.fm/legal.
Player FM - Podcast-app
Gå frakoblet med Player FM -appen!

The Philosophy of Next.js

1:16:00
 
Del
 

Manage episode 408315435 series 1635850
Innhold levert av Frontend First, Sam Selikoff, and Ryan Toronto. Alt podcastinnhold, inkludert episoder, grafikk og podcastbeskrivelser, lastes opp og leveres direkte av Frontend First, Sam Selikoff, and Ryan Toronto eller deres podcastplattformpartner. Hvis du tror at noen bruker det opphavsrettsbeskyttede verket ditt uten din tillatelse, kan du følge prosessen skissert her https://no.player.fm/legal.

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
  continue reading

185 episoder

Artwork

The Philosophy of Next.js

Frontend First

198 subscribers

published

iconDel
 
Manage episode 408315435 series 1635850
Innhold levert av Frontend First, Sam Selikoff, and Ryan Toronto. Alt podcastinnhold, inkludert episoder, grafikk og podcastbeskrivelser, lastes opp og leveres direkte av Frontend First, Sam Selikoff, and Ryan Toronto eller deres podcastplattformpartner. Hvis du tror at noen bruker det opphavsrettsbeskyttede verket ditt uten din tillatelse, kan du følge prosessen skissert her https://no.player.fm/legal.

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
  continue reading

185 episoder

All episodes

×
 
Loading …

Velkommen til Player FM!

Player FM scanner netter for høykvalitets podcaster som du kan nyte nå. Det er den beste podcastappen og fungerer på Android, iPhone og internett. Registrer deg for å synkronisere abonnement på flere enheter.

 

Hurtigreferanseguide

Copyright 2024 | Sitemap | Personvern | Vilkår for bruk | | opphavsrett