Skip to content

Hydration issue when updating to react 18 #2171

Discussion options

You must be logged in to vote

This is not a bug in mdx.
Here is an example of:

  • Next 13
  • MDX loader 2
  • React 18
  • Emotion 13

used together, and working.
https://codesandbox.io/s/next-and-mdx-with-emotion-c9rtby?file=/next.config.mjs

What you are seeing is likely:

  • A mismatch in the versions of dependencies used
  • A bug in Next MDX, which is maintained by the Next team https://github.com/vercel/next.js
  • A bug in an older version of Next.js

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@OliverDudgeon
Comment options

@wooorm
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
👀 no/external This makes more sense somewhere else
3 participants