-
Notifications
You must be signed in to change notification settings - Fork 266
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
IE11 + NextJS causes "Prop d
did not match. Server:" error
#442
Comments
I am also seeing the same thing Seems to be a react issue: |
Yeah, we can't do anything about this one. |
@robmadole @rshaul @ravinggenius insteed, call the component like this and next add it like this
|
@salmidiv your a legend! |
Hey, i'm now having this problem in google chrome but if i opened an icognito tab it works fine, although i removed all of my extensions |
Describe the bug
I am using react-fontawesome with NextJS, and only in IE11 I'm getting the following error:
I understand that the
Prop d did not match
error is due to a discrepancy between server and client-side state. Reading that SVG path I can see that the server-side one has extra spaces, whereas the client-side one gets minified when viewed in IE for some reason.This only happens in IE. Chrome and Firefox work without issues. The error prevents the entire page from running and just shows a blank screen.
Reproducible test case
This is a private repo, and CodeSandbox does not work in IE so it wouldn't be viewable anyway.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: