Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Reference to document is breaking serverside rendering #2182

@kobber

Description

@kobber

Bug Report

We're attempting to serverside render our app, but a few references to document in mergeProviderContexts.ts makes it throw:

ReferenceError: document is not defined at mergeProviderContexts 

I found a previous commit in the project that removed references to window and document, I'm guessing with the intent of allowing serverside rendering, but in this specific case the usage was allowed with the use of // eslint-disable-line no-undef.

Am I missing something? Is there a yet-to-be documented configuration that would allow serverside rendering? Or is it simply not supported by the project yet?

Version

0.42.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    vstsPaired with ticket in vsts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions