Artwork

Вміст надано Frontend First, Sam Selikoff, and Ryan Toronto. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Frontend First, Sam Selikoff, and Ryan Toronto або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.
Player FM - додаток Podcast
Переходьте в офлайн за допомогою програми Player FM !

Beyond Data Fetching with RSCs

1:09:50
 
Поширити
 

Manage episode 406286271 series 1635850
Вміст надано Frontend First, Sam Selikoff, and Ryan Toronto. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Frontend First, Sam Selikoff, and Ryan Toronto або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.

Sam talks to Ryan about refactoring an MDX blog post to a React Server Component. They discuss how RSC’s ability to render server-side content with “client-side holes” turns out to replace MDX for many uses cases. They also talk about other tools that are (surprisingly) a conceptual subset of the RSC architecture, such as custom Webpack loaders.

Topics include:

  • 0:00 - Intro
  • 5:05 - The Next.js happy path for MDX: Local files
  • 11:15 - Exploring remote MDX content with mdx-remote
  • 14:46 - Separating the serializable parts of MDX from the runtime imports
  • 17:13 - Realizing that RSC covers the same problem space, and ditching MDX
  • 26:50 - Exploring other APIs and plugin ecosystems that RSC could replace: Webpack loaders, next/image, and Liquid templates
  • 32:11 - React’s vision for RSCs
  • 35:18 - How RSCs could replace build-time plugin APIs
  • 44:51 - Replacing MDX with Markdoc, Shiki, and custom node code during render

Links:

  continue reading

185 епізодів

Artwork

Beyond Data Fetching with RSCs

Frontend First

198 subscribers

published

iconПоширити
 
Manage episode 406286271 series 1635850
Вміст надано Frontend First, Sam Selikoff, and Ryan Toronto. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Frontend First, Sam Selikoff, and Ryan Toronto або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.

Sam talks to Ryan about refactoring an MDX blog post to a React Server Component. They discuss how RSC’s ability to render server-side content with “client-side holes” turns out to replace MDX for many uses cases. They also talk about other tools that are (surprisingly) a conceptual subset of the RSC architecture, such as custom Webpack loaders.

Topics include:

  • 0:00 - Intro
  • 5:05 - The Next.js happy path for MDX: Local files
  • 11:15 - Exploring remote MDX content with mdx-remote
  • 14:46 - Separating the serializable parts of MDX from the runtime imports
  • 17:13 - Realizing that RSC covers the same problem space, and ditching MDX
  • 26:50 - Exploring other APIs and plugin ecosystems that RSC could replace: Webpack loaders, next/image, and Liquid templates
  • 32:11 - React’s vision for RSCs
  • 35:18 - How RSCs could replace build-time plugin APIs
  • 44:51 - Replacing MDX with Markdoc, Shiki, and custom node code during render

Links:

  continue reading

185 епізодів

Усі епізоди

×
 
Loading …

Ласкаво просимо до Player FM!

Player FM сканує Інтернет для отримання високоякісних подкастів, щоб ви могли насолоджуватися ними зараз. Це найкращий додаток для подкастів, який працює на Android, iPhone і веб-сторінці. Реєстрація для синхронізації підписок між пристроями.

 

Короткий довідник