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

fix: hydration errors due to mismatch #10

Merged
merged 1 commit into from
May 18, 2024
Merged

Conversation

SethFalco
Copy link
Member

@SethFalco SethFalco commented May 18, 2024

  • Updates our dependencies.
  • Modifies prefixIds to use a reproducible prefix. This resolves hydration errors we were seeing on the production build due to a mismatch between the client-side and server-side HTML. It was caused from different prefixes between generated between them, even for the same file/node. Now we base the prefix on the original file name.

@SethFalco SethFalco merged commit f2fa6c8 into svg:main May 18, 2024
1 check passed
@SethFalco SethFalco deleted the fix/hydration branch May 18, 2024 00:13
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

Successfully merging this pull request may close these issues.

None yet

1 participant