Closed enpitsuLin closed 1 month ago
And I also have some more complex situation, like replace some <a/>
tag in body with content:file:afterParse
hook to use custom component will cause hydration mismatch which looks like same issue of this
open a new issue on upstream https://github.com/nuxt-modules/mdc/issues/212
Environment
Build Modules: -
Reproduction
https://github.com/enpitsuLin/nuxt-prose-component-repo
Describe the bug
I just override prose component
<ProseImg/>
and want get caption under image, but got hydration mismatch warningafter some try, just found if override prose components with other unexpected element wrap it that will cause hydration mismatch, I think maybe it's some things wrong with
inheritAttrs
option, but it's still keep warning after addedinheritAttrs:false
my ProseImg
```html ```Additional context
No response
Logs
No response