-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remix: Hydration errors using 7.8.0 #5490
Comments
Hey thanks for writing in, and giving such a detailed bug report! We are taking a look :) |
Hey, I was unable to reproduce this. Are you only using |
@AbhiPrasad I followed the instructions exactly: added the https://github.com/dmarkow/sentry-remix-hydration-error Here is a simple reproduction. It's a plain
|
Thank you for the repro app! Looking at 7.7.0...7.8.0, This might be related to #5440 @onurtemizkan Not sure why setting the meta tag is disrupting the hydration like that though 🤔 |
Well we should probably do a couple things here to start off.
|
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/remix
SDK Version
7.8.0
Framework Version
Remix 1.6.5
Link to Sentry event
No response
Steps to Reproduce
npx create-remix
(this also happens if you use the "just the basics", but then add alinks
functions to your root).Sentry.init(...)
code toentry.server.tsx
as described in the documentation.npm run dev
Expected Result
No hydration errors.
Actual Result
Server-rendered pages cause hydration issues. This did not happen with 7.7.0.
With a "just the basics" template and one stylesheet in the
links
function I now get this in the browser console:Using the indie template, I get a bunch of errors:
The text was updated successfully, but these errors were encountered: