-
Notifications
You must be signed in to change notification settings - Fork 28.3k
Update MDX documentation to use next-mdx-remote-client #78347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
docs/01-app/03-building-your-application/07-configuring/05-mdx.mdx
Outdated
Show resolved
Hide resolved
docs/01-app/03-building-your-application/07-configuring/05-mdx.mdx
Outdated
Show resolved
Hide resolved
It’s an honor to see |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Dan, this is some good stuff. Let me learn more about next-mdx-remote-client
before merging.
Yea I don't actually know if it's recommended or either is better (cc @eps1lon). I just ran into #76395 (comment) and then migrating to |
docs/01-app/03-building-your-application/07-configuring/05-mdx.mdx
Outdated
Show resolved
Hide resolved
docs/01-app/03-building-your-application/07-configuring/05-mdx.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added 2 reviews for better documentation in case PR is merged since a type guard / or property existence check is needed always to get SerializeResult
properly. Because next-mdx-remote-client
has internal error handling mechanism against syntax errors in mdx contents
docs/01-app/03-building-your-application/07-configuring/05-mdx.mdx
Outdated
Show resolved
Hide resolved
docs/01-app/03-building-your-application/07-configuring/05-mdx.mdx
Outdated
Show resolved
Hide resolved
Thanks so much for reviewing, and contributing @delba; and merging the update @eps1lon, and to you @gaearon for creating this PR. I am thrilled to see As the author of |
From what I understand, this is the latest recommendations. I've gotten issues with
next-mdx-remote
recently.