Skip to content

global variable in browser context is always undefined. I think you meant globalThis #91

@cpakken

Description

@cpakken

const initialize = (storageKey, storageProvider, glbl = global) => {

The global variable will only exist in node during ssr. globalThis === window in browsers and globalThis === global in node

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