Skip to content

Avoid new Set([iterable]) for thenables#14592

Merged
gaearon merged 1 commit into
react:masterfrom
aweary:suspense-ie11-set-fix
Jan 15, 2019
Merged

Avoid new Set([iterable]) for thenables#14592
gaearon merged 1 commit into
react:masterfrom
aweary:suspense-ie11-set-fix

Conversation

@aweary

@aweary aweary commented Jan 15, 2019

Copy link
Copy Markdown
Contributor

Fixes #14583

I wrote and deployed a small test app and verified that this fixes the issue outlined in #14583 in IE11 on Windows 8.

Fixes react#14583

Using `new Set([iterable])` does not work with IE11's non-compliant Set
implementation. By avoiding this pattern we don't need to require a Set
polyfill for IE11
@gaearon gaearon merged commit 0fc1547 into react:master Jan 15, 2019
@gaearon

gaearon commented Jan 15, 2019

Copy link
Copy Markdown
Collaborator

Hmm. Now that I merged it, I realized ideally you wouldn't read field twice. Create a set, add the item, then set workInProgress.updateQueue. Mind tweaking?

jetoneza pushed a commit to jetoneza/react that referenced this pull request Jan 23, 2019
Fixes react#14583

Using `new Set([iterable])` does not work with IE11's non-compliant Set
implementation. By avoiding this pattern we don't need to require a Set
polyfill for IE11
n8schloss pushed a commit to n8schloss/react that referenced this pull request Jan 31, 2019
Fixes react#14583

Using `new Set([iterable])` does not work with IE11's non-compliant Set
implementation. By avoiding this pattern we don't need to require a Set
polyfill for IE11
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
georgespeelman02-create pushed a commit to georgespeelman02-create/react that referenced this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

16.8.0-alpha.0 (and 16.7) IE11 Suspense doesn't stop rendering fallback after Lazy resolves

4 participants