Skip to content
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

Hydration error occurs when rendering Endnote with Supplement #32

Open
katamartin opened this issue Oct 31, 2024 · 0 comments
Open

Hydration error occurs when rendering Endnote with Supplement #32

katamartin opened this issue Oct 31, 2024 · 0 comments

Comments

@katamartin
Copy link
Member

katamartin commented Oct 31, 2024

For some reason, rendering an Endnote component as a child of Supplement triggers a React hydration error in production environments only. The most likely culprit appears to be invalid DOM nesting, but the DOM structure mirrors what occurs when rendering Endnotes within Articles or Commentarys.

For now we've used this basic workaround a couple of times:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant