luandro / hapi-universal-redux

DEPRECATED: Create an universal React and Redux app in less than 5 minutes!
https://hapi-universal-redux.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
214 stars 24 forks source link

Invalid checksum on Community avatars. #83

Closed luandro closed 8 years ago

luandro commented 8 years ago
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) 2.3">Community</h3></div></div></div></d
 (server) 2.3">Community</h3><a href="https://gith

This happens if the route is changed while avatars are being loaded, or if it's loaded a second time.

dlong500 commented 8 years ago

Do you have any info on why this is happening or the specific pieces involved? Just trying to figure out if this is something that would likely occur if I use parts of this starterkit in other projects.

Also, thanks for the work in putting this together. I was hoping someone was going to put together a hapi-based project with redux that also allowed for server-side rendering, so this came just in time.

luandro commented 8 years ago

To be honest, I'm not sure if this is really an issue, since it rarely happens. It probably has to do with the recursive fetching part of the logic. You'll probably use your own.

I believe it would be safe to use most parts of this. Test it out, and please let me know if you encounter something.