-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Wondering if it makes sense to use globalThis for adapters (maybe like (window || globalThis).localStorage) kind of situation? My specific use case is that window global is not available in Deno 2, but afaik this is also applicable to a few other non-browser js contexts.
Not sure if usage of window here is primarily because of better legacy support, or if you are specifically trying to signal that usage should be in a browser context (since I guess the opening to more environments could also open adapters to more compat confusion).
Metadata
Metadata
Assignees
Labels
No labels