Skip to content

error during serverside rendering #13

Description

@KutnerUri

when rendering in serverside (i.e. node), getting this error:

window is not defined

Obviously mutation observer is irrelevant to node environment, unless someone goes a long way to polyfill window and the dom.
My suggestion is to skip execution when typeof window === "undefined". (especially window.* calls)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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