Skip to content
Beyond Data Fetching with RSCs episode artwork

EPISODE · Mar 13, 2024 · 1H 9M

Beyond Data Fetching with RSCs

from Frontend First · host Frontend First

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: Markdoc Shiki

Episode metadata supplied by the publisher feed · Published Mar 13, 2024

Embed this episode

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.

Distinct summary based on available episode metadata or transcript content.

Ready to play

Beyond Data Fetching with RSCs

0:00 1:09:50

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Frontend First?

This episode is 1 hour and 9 minutes long.

When was this Frontend First episode published?

This episode was published on March 13, 2024.

Can I download this Frontend First episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!