-
Notifications
You must be signed in to change notification settings - Fork 18
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
Custom prose img components will cause hydration mismatch #212
Comments
Just figured out the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try override prose component
<ProseImg/>
to show caption under image in nuxt/content template, but got hydration mismatch warning, I thought it was cause by content module(nuxt/content#2640), but this issue also be found in MDC playgroundI just add
<figure/>
and<figurecaption/>
, after several try that I realized if there are some unexpected element wrap it would cause hydration mismatch, but cant resolve itReproduction
https://stackblitz.com/edit/github-1szhfr
The text was updated successfully, but these errors were encountered: