Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: globalThis #38

Open
2 tasks done
eleanorjmorel opened this issue Sep 18, 2022 · 1 comment
Open
2 tasks done

馃殌 Feature: globalThis #38

eleanorjmorel opened this issue Sep 18, 2022 · 1 comment
Assignees

Comments

@eleanorjmorel
Copy link

馃敄 Feature description

in the javscript client SDK, make it more compatible in a wider amount of uh, environments, or something, by using the globalThis context instead of window and this

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

馃帳 Pitch

God uh like, i dont, ugh, like, it will work better ???

Like im making a browser game and want to use appwrite and i want performance and responsiveness so like I run it in a web worker so it's not blocking but that locks me out of the DOM and i lose window access and like, all your uh, bindings? variables? i dont know the word, are written in the window context instead of using the much more compatible globalThis property that probs wouldn't break anything in ur code and broaden ocmpatibility to like allow it to also run on nodejs and deno maybe ?? and like that'S a good thing I think ? because it would be a pain in the ass to change the minified file every time myself when there'S an update when you could just, do it yourself and make your thingy thing better for everyone at the same time

dab, vineboom !!!

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@lohanidamodar
Copy link
Member

@eleanorjmorel Thank you for raising the issue. We will get back to you soon.

@stnguyen90 stnguyen90 changed the title 馃殌 Feature: 馃殌 Feature: globalThis Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants