Artwork

Nội dung được cung cấp bởi Frontend First, Sam Selikoff, and Ryan Toronto. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Frontend First, Sam Selikoff, and Ryan Toronto hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.player.fm/legal.
Player FM - Ứng dụng Podcast
Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !

Implementing RSC, Part 1: Rendering

58:42
 
Chia sẻ
 

Manage episode 378310170 series 1635850
Nội dung được cung cấp bởi Frontend First, Sam Selikoff, and Ryan Toronto. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Frontend First, Sam Selikoff, and Ryan Toronto hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.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

185 tập

Artwork

Implementing RSC, Part 1: Rendering

Frontend First

198 subscribers

published

iconChia sẻ
 
Manage episode 378310170 series 1635850
Nội dung được cung cấp bởi Frontend First, Sam Selikoff, and Ryan Toronto. Tất cả nội dung podcast bao gồm các tập, đồ họa và mô tả podcast đều được Frontend First, Sam Selikoff, and Ryan Toronto hoặc đối tác nền tảng podcast của họ tải lên và cung cấp trực tiếp. Nếu bạn cho rằng ai đó đang sử dụng tác phẩm có bản quyền của bạn mà không có sự cho phép của bạn, bạn có thể làm theo quy trình được nêu ở đây https://vi.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

185 tập

Tất cả các tập

×
 
Loading …

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

 

Hướng dẫn sử dụng nhanh