Skip to content

Better error handling when loaded in server #72

@apotdevin

Description

@apotdevin

In frameworks like NextJS, components are server side rendered by default unless specified. This causes issues with this lib and causes it to throw a self is not defined error which isn't very informative of why it's failing.

It would be nice if this scenario could be handled internally in the lib and return an accurate error of the reason for failing.

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