hashicorp / next-mdx-remote

Load MDX content from anywhere
Mozilla Public License 2.0
2.72k stars 141 forks source link

support MDX v3 #419

Closed minpeter closed 7 months ago

minpeter commented 11 months ago

https://mdxjs.com/blog/v3

Do you have any plans regarding this? Or is there already an issue tracking this? When I looked for it, it didn't seem to exist, so I created a new one. I'm sorry if there was any.

Yusufzai commented 11 months ago

It has major compatibility issue when you include react component

minpeter commented 11 months ago

Oh.. But i will (a)wait. 🤓

IanMitchell commented 11 months ago

I poked around a little bit on this, and I think this might require first updating @hashicorp/remark-plugins. It also looks like it might be a breaking change because of the useDynamicImports option change on the MDX side. Updating should simplify the code in this package a tiny bit, on the bright side!

talatkuyuk commented 10 months ago

Is there any repo that has been forked from next-mdx-remote and works with MDX v3 ?

hipstersmoothie commented 10 months ago

There's really not much code in this repo. Upgrading should be relatively simple

hipstersmoothie commented 10 months ago

I think it's working now @alisowski/next-mdx-remote

I may have dropped support for react < 18 though

dstaley commented 7 months ago

Just wanted to drop a note here to let everyone know that MDX v3 is now supported in the canary releases being published from this PR. Please give them a shot and report any issues!