Skip to content
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

Invalid checksum on Community avatars. #83

Closed
luandro opened this issue Dec 15, 2015 · 2 comments
Closed

Invalid checksum on Community avatars. #83

luandro opened this issue Dec 15, 2015 · 2 comments
Labels

Comments

@luandro
Copy link
Owner

luandro commented Dec 15, 2015

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.

@luandro luandro added the bug label Dec 15, 2015
@dlong500
Copy link

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
Copy link
Owner Author

luandro commented Dec 29, 2015

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.

@luandro luandro closed this as completed Dec 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants