hashicorp / next-mdx-remote

Load MDX content from anywhere
Mozilla Public License 2.0
2.67k stars 140 forks source link

Upgrade dependencies for react and react-dom to 18 #289

Closed jordanlambrecht closed 2 years ago

jordanlambrecht commented 2 years ago
warning " > next-mdx-remote@3.0.8" has incorrect peer dependency "react@>=16.x <=17.x".
warning " > next-mdx-remote@3.0.8" has incorrect peer dependency "react-dom@>=16.x <=17.x".
BRKalow commented 2 years ago

It looks like you need to update to 4.x! We've got 18.x specified as valid versions: https://github.com/hashicorp/next-mdx-remote/blob/main/package.json#L93-L95

jordanlambrecht commented 2 years ago

Aha! Thank you