10000 Server and client rendering not in sync · Issue #4 · bdefore/universal-redux-jwt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Server and client rendering not in sync #4
Open
@johanforssell

Description

@johanforssell

I've done this

  1. git clone https://github.com/bdefore/universal-redux-jwt.git
  2. cd universal-redux-jwt
  3. cp .env.example .env
  4. npm install
  5. npm run dev
  6. ctrl-c, ctrl-c
  7. npm run dev

This happens when I visit the page and reload it

video

Chrome shows me this on the console

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) te;background-color:blue;" data-reactid=
(server) te;background-color:red;" data-reactid="

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0