4 ms·
They're only required if you target IE10 or lower.
by danabramov 9y ago
They're only required if you target IE10 or lower.
- Bahamut 9y agoSome older versions of Safari as well I believe since Safari had shipped a broken implementation prior to becoming ES2015 compliant.
- danabramov 9y agoIf you have specific data about what was broken please share in an issue report so we can amend the docs if necessary. Thanks!
- Bahamut 9y agoHere is one issue where I saw some comments on the broken Map implementation: https://github.com/google/traceur-compiler/issues/1810 https://github.com/google/traceur-compiler/issues/1810 Admittedly, this is an older browser at this point (Safari 11 formally shipped yesterday), but I remember it biting a workplace I was at 2 1/2 years ago & we had to polyfill Map and Set. I believe this was fixed in Safari 9. I would like to report it on GitHub, but unfortunately I think it would violate my employment contract until I complete the process to get approval to do open source work.
- realityking 9y agoDoes that mean React is only using the save subset of Map/Set methods that are supported by IE11? That'd one great news and should be documented.