Skip to content

v4.3.0 - Server Components Support (experimental)

Compare
Choose a tag to compare
@BRKalow BRKalow released this 20 Jan 18:05
· 34 commits to main since this release

next-mdx-remote now has experimental support for React Server Components! πŸŽ‰ Access the new API by importing from next-mdx-remote/rsc, and head to the documentation for usage instructions and additional examples.

import { MDXRemote } from 'next-mdx-remote/rsc'

export default async function Page() {
  const mdxSource = await getContent()

  return (
    <MDXRemote source={mdxSource} />
  )
}

Big thanks to @timneutkens for his contribution!


What's Changed

New Contributors

Full Changelog: v4.2.1...v4.3.0