-
-
Notifications
You must be signed in to change notification settings - Fork 609
Pre-rendered placeholders differ on client causing React to re-inject markup #153
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
Comments
Faced the same warning.
If it's not ongoing, I can create repo reproducing the issue. |
Looks like it's fixed. Warning is gone after update. |
If your hash is different, try including |
Thanks for the suggestions! I had the |
@chanon Thank you thank you! I ran into this on webpack 2 upgrade. Scratching my head for a while. |
Hello @sokra !
I am successfully able to use local css classes on both the client and server. However, the classes differ. This causes React to re-inject new markup i.e. losing many of the benefits of server rendering. I get the following error from my React component:
I am following the guidelines for webpack configs on the server and client outlined in your comment from another issue: #59 (comment)
I also found this very problem referenced in a comment from an issue from your
react-starter
repo: webpack/react-starter#69 (comment)Unfortunately, I could not find any documentation to resolve this problem. Is there a way to resolve this or is this still an ongoing issue?
Thanks!
The text was updated successfully, but these errors were encountered: