Skip to content

Use in SSR env? #4

@slorber

Description

@slorber

Hi,

I use Gatsby and your lib depends on localStorage which makes the Gatsby production build fail (due to rendering in SSR)

It guess I could hack around using a storageProvider or something, but it would be great if your lib did nothing when in node/SSR env

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions