Skip to content

Not working in SSR enviroments #52

@oskari

Description

@oskari

In cookie.js#L10 a document -object is accessed but this might not be available in while in SSR, should probably be a check for if the document -object exists.

Facing this issue in Gatsby but I presume platforms like nextjs suffer the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions