Artwork

Контент предоставлен Frontend First, Sam Selikoff, and Ryan Toronto. Весь контент подкастов, включая эпизоды, графику и описания подкастов, загружается и предоставляется непосредственно компанией Frontend First, Sam Selikoff, and Ryan Toronto или ее партнером по платформе подкастов. Если вы считаете, что кто-то использует вашу работу, защищенную авторским правом, без вашего разрешения, вы можете выполнить процедуру, описанную здесь https://ru.player.fm/legal.
Player FM - приложение для подкастов
Работайте офлайн с приложением Player FM !

Implementing RSC, Part 1: Rendering

58:42
 
Поделиться
 

Manage episode 378310170 series 1635850
Контент предоставлен Frontend First, Sam Selikoff, and Ryan Toronto. Весь контент подкастов, включая эпизоды, графику и описания подкастов, загружается и предоставляется непосредственно компанией Frontend First, Sam Selikoff, and Ryan Toronto или ее партнером по платформе подкастов. Если вы считаете, что кто-то использует вашу работу, защищенную авторским правом, без вашего разрешения, вы можете выполнить процедуру, описанную здесь https://ru.player.fm/legal.

Ryan shares how building his own RSC implementation from scratch helped him better understand React’s new paradigm. He and Sam talk about how a client React app can fetch an RSC Payload from a server endpoint to update the UI, how an RSC server renders and bundles Client code that’s part of a Server Component tree, and how a client-side Router can be used to fetch new RSC trees based on the URL.

Topics include:

  • 0:00 - Intro
  • 2:48 - Making a server endpoint that a client React app can use to re-render the UI
  • 15:42 - How the bundling step shims Client Components during a server render with a reference that the client app can later use to execute browser code
  • 35:16 - How the React Component API unifies server and client functionality in a single composable interface
  • 38:54 - How a client-side router can render different server trees based on the URL
  • 49:09 - Reference projects used

Links:

  continue reading

187 эпизодов

Artwork

Implementing RSC, Part 1: Rendering

Frontend First

205 subscribers

published

iconПоделиться
 
Manage episode 378310170 series 1635850
Контент предоставлен Frontend First, Sam Selikoff, and Ryan Toronto. Весь контент подкастов, включая эпизоды, графику и описания подкастов, загружается и предоставляется непосредственно компанией Frontend First, Sam Selikoff, and Ryan Toronto или ее партнером по платформе подкастов. Если вы считаете, что кто-то использует вашу работу, защищенную авторским правом, без вашего разрешения, вы можете выполнить процедуру, описанную здесь https://ru.player.fm/legal.

Ryan shares how building his own RSC implementation from scratch helped him better understand React’s new paradigm. He and Sam talk about how a client React app can fetch an RSC Payload from a server endpoint to update the UI, how an RSC server renders and bundles Client code that’s part of a Server Component tree, and how a client-side Router can be used to fetch new RSC trees based on the URL.

Topics include:

  • 0:00 - Intro
  • 2:48 - Making a server endpoint that a client React app can use to re-render the UI
  • 15:42 - How the bundling step shims Client Components during a server render with a reference that the client app can later use to execute browser code
  • 35:16 - How the React Component API unifies server and client functionality in a single composable interface
  • 38:54 - How a client-side router can render different server trees based on the URL
  • 49:09 - Reference projects used

Links:

  continue reading

187 эпизодов

Alla avsnitt

×
 
Loading …

Добро пожаловать в Player FM!

Player FM сканирует Интернет в поисках высококачественных подкастов, чтобы вы могли наслаждаться ими прямо сейчас. Это лучшее приложение для подкастов, которое работает на Android, iPhone и веб-странице. Зарегистрируйтесь, чтобы синхронизировать подписки на разных устройствах.

 

Краткое руководство