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

Improve Server Side Rendering #104

Closed
jean343 opened this issue Jun 19, 2017 · 1 comment
Closed

Improve Server Side Rendering #104

jean343 opened this issue Jun 19, 2017 · 1 comment

Comments

@jean343
Copy link
Contributor

jean343 commented Jun 19, 2017

In SSR, the order of the props are different on the client and on the server, leading to:

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) ta-reactid="3"><div class="toast-top-rig
 (server) ta-reactid="3"><div id="toast-container"
tomchentw pushed a commit that referenced this issue Aug 21, 2017
* Original commit: ca0765f
* Original author: @jean343
* Closes #105
* Closes #104
tomchentw pushed a commit that referenced this issue Aug 21, 2017
* Original commit: ca0765f
* Original author: @jean343
* Closes #105
* Closes #104
tomchentw pushed a commit that referenced this issue Aug 21, 2017
* Original commit: ca0765f
* Original author: @jean343
* Closes #105
* Closes #104
@tomchentw
Copy link
Owner

Released v2.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants