-
Notifications
You must be signed in to change notification settings - Fork 50.2k
Closed
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
With SSR we get this warning using inline styles :
Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
(client) ound-position:center;" data-reactid="2">
(server) ound-position:center" data-reactid="2"><
I'm not sure if the browser is adding the semicolon or if react is skipping it on the server.
What is the expected behavior?
We should not get any warning, markup from client and server should match.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
15.4.2
Chrome / Linux
Firefox / Linux
Metadata
Metadata
Assignees
Labels
No labels