next.js/examples/with-react-md/ gives checksum invalid error when rendering on client. #1049
Labels
Upstream
Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
Run the with-react-md as described in the README. When loading, it gives a checksum invalid error from 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) ton><!-- react-empty: 15
(server) ton><span data-reactid="1
Expected behavior: Examples should show how to use isomorphic rendering properly, and not throw this error.
The text was updated successfully, but these errors were encountered: