You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning.js:36 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) activeLink " href="/" data-reactid="9">H
(server) activeLink " href="//" data-reactid="9">
The text was updated successfully, but these errors were encountered:
It seems like
NavLink
is behaving differently on client and server.I have this code in my application:
In the markup this seems to produce double slashes for
href
:That's the warning I am seeing in the client:
The text was updated successfully, but these errors were encountered: