Player FM 앱으로 오프라인으로 전환하세요!
Beyond Data Fetching with RSCs
Manage episode 406286271 series 1635850
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:
201 에피소드
Manage episode 406286271 series 1635850
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:
201 에피소드
모든 에피소드
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.