#Hydration mismatch

7 messages · Page 1 of 1 (latest)

primal lion
#

On the client, the dev-client-entry script is not rendered, causing the mismatch. Is it a bug?

glacial tapir
#

please share a minimal reproducer project as a git repo

#

also this is a start question, please post in #1240861643462934568 next time

primal lion
#

think the issue is because I put the root html document in a pathless layout route instead of root route.

glacial tapir
#

yeah

#
<html>
      <head>
        <HeadContent />
      </head>
      <body>
        <Outlet />
        <Scripts />
      </body>
    </html>

this must be in __root