Skip to content

SSR support #2

Description

@ehellman

There's heavy usage of document and window, neither of which exists in the Node environment. You should include this package in a SSR project and try to make it work. Wrap window/document in conditionals and sometimes you have to rewrite some parts to make sure that server has a reasonable substitute or just doesn't run this at all. I've fought quite a lot with this before myself, this is by far the easiest way to deal with the problem :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions