Closed
Description
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:
Warning: React attempted to reuse markup in a container but the checksum was invalid:
(client) class="uIcon-style__icon___uQ7KH ..."
(server) class="uIcon-style__icon___1PjTP ..."
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!
Metadata
Metadata
Assignees
Labels
No labels