Skip to content

Add test cases and an example for server rendering (and fix any react-pick issues in the process) #5

@rendykstan

Description

@rendykstan

I am getting this Error when I refresh the page with the Combobox.

Uncaught Error: Invariant Violation: You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:
(client) ".223nigdvvuo.0.3"><body data-rea
(server) ".223nigdvvuo.0.3"><style type="text/css

Is there a pure way around this error?

By the way it is not causing any problems but the error in the console really bugs me.

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