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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: UMD cannot run in strict mode #3689
Comments
the |
It works for all environments that have either
No matter how we turn it, we will likely need to probe one of the options via |
To make it nicer, we could also move this into the first argument. |
The lodash way is good enough to me. Here is my reason: in Firefox web extension content script, globalThis does not equal to window. globalThis means the current global object (sandbox) and the window means the global object out of the sandbox. |
Makes sense. I assume #3691 would work for you? |
Expected Behavior
Actual Behavior
Related: facebook/react#18040
The text was updated successfully, but these errors were encountered: