next-mdx-remote to render it, but if user adds any <Component /> to their markdown, it will throw an error when rendering it:Error: Expected component Comp to be defined: you likely forgot to import, pass, or provide it.next-mdx-remote, or are there any other libraries to render it on server. react-markdown, and it works fine with SSR and RSC. So I guess just use react-markdown now, to avoid errors with JSX in markdown