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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace for...of statement for better legacy browser support #1474

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

cbergmiller
Copy link
Contributor

for...of gets transpiled (e.g. with Babel) to the usage of Symbol.iterator. This causes a Problem in IE 11 even with a Symbol polyfill in place.
I replaced for...of with .forEach (better browser support/easier to polyfill).

@darthtrevino darthtrevino merged commit 383f51e into react-dnd:master Jul 24, 2019
darthtrevino pushed a commit that referenced this pull request Feb 3, 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

Successfully merging this pull request may close these issues.

2 participants