Skip to content

Mention non-compliant implementations of Map/Set in Environment Requirements #677

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

Merged
merged 1 commit into from
Mar 14, 2018

Conversation

aweary
Copy link
Member

@aweary aweary commented Mar 13, 2018

IE11 has native Map/Set implementations, but they're not compliant with the ES6 spec

See "Browser compatibility" section:

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

This came up after a bug was found in IE11 related to Map: facebook/react#12349. The fix was simple enough, but in the future React may want to use other Map/Set features that IE11 doesn't have so people should still polyfill to be safe.

@reactjs-bot
Copy link

Deploy preview for reactjs ready!

Built with commit 0e02416

https://deploy-preview-677--reactjs.netlify.com

@alexkrolick alexkrolick merged commit cea2386 into master Mar 14, 2018
@alexkrolick alexkrolick deleted the non-compliant-native branch March 14, 2018 04:23
BetterZxx pushed a commit to BetterZxx/react.dev that referenced this pull request Mar 21, 2023
…updates into Chinese (reactjs#677)

* doc(cn): queueing-a-series-of-state-updates

* Apply suggestions from code review

Co-authored-by: Hao Jiang ᛋ <[email protected]>

* Update beta/src/pages/learn/queueing-a-series-of-state-updates.md

Co-authored-by: Hao Jiang ᛋ <[email protected]>

---------

Co-authored-by: Hao Jiang ᛋ <[email protected]>
Co-authored-by: Xavi Lee <[email protected]>
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.

4 participants