Skip to content

Conversation

@lukaselmer
Copy link

globalThis has become a standard which is supported by all major platforms (as of 2023): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

Using the non-standard global leads to issues like #55 and donavon/use-persisted-state#62

globalThis has become a standard which is supported by all major platforms (as of 2023): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
@lukaselmer lukaselmer changed the title Switch from global to globalThis Switch from global to globalThis Jul 24, 2023
@god-of-javascript
Copy link

This is required!

@lukaselmer
Copy link
Author

@donavon any chance we can merge this?

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

Labels

None yet

2 participants