-
Notifications
You must be signed in to change notification settings - Fork 920
Closed
Labels
Description
https://facebook.github.io/react/blog/2016/04/07/react-v15.html
React 15 changed the way components are rendered (regarding react-id
etc), which causes this error for me when using @Html.React
:
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) <div data-reactroot="" data-reactid
(server) <div data-reactid=".1hrhaz20mio"
When I downgrade to React 0.14.x, this is resolved.