Skip to content

Instantly share code, notes, and snippets.

@RafalFilipek
Last active October 6, 2015 15:20
Show Gist options
  • Save RafalFilipek/b793cabce0a41f77bbc2 to your computer and use it in GitHub Desktop.
Save RafalFilipek/b793cabce0a41f77bbc2 to your computer and use it in GitHub Desktop.
Checksum was invalid
Server:
<div class="a" data-reactid=".ff0x0eig3k.0.0.1.0.1.$items.$5915164776886913.1.1.0">
<img height="89" width="132" src="https://o.pl/1.jpg" data-reactid=".ff0x0eig3k.0.0.1.0.1.$items.$5915164776886913.1.1.0.0"/>
</div>
Client:
<div class="a" data-reactid=".ff0x0eig3k.0.0.1.0.1.$items.$5915164776886913.1.1.0">
<img width="132" height="89" src="https://o.pl/1.jpg" data-reactid=".ff0x0eig3k.0.0.1.0.1.$items.$5915164776886913.1.1.0.0"/>
</div>
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) 6886913.1.1.0"><img width="132" height="
(server) 6886913.1.1.0"><img height="89" width="1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment