Library does not work on IE11 because of Symbol being undefined
See original GitHub issueHello, is there any chance we can get a version of the dist js which works on IE11?
It currently doesn’t work because Symbol is undefined
so a polyfill will be necessary during the transpiling.
I have tested the latest JS files in the dist folder against IE11.
Many thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
['Symbol' is undefined] Build does not run on Internet Explorer 11
Category Enhancement Bug Question Documentation gap/issue Version Please specify what version of the library you are using: 2.0.0 Please ...
Read more >Fix site display issues with Compatibility View in Internet ...
If any site you visit needs Internet Explorer 11, you can reload it with Internet Explorer mode in Microsoft Edge. We recommend you...
Read more >React app does not work in IE11 - Stack Overflow
Include following plugin in your webpack config file. new webpack.ProvidePlugin({ Promise: 'es6-promise-promise', // works as expected }).
Read more >Angular < 13: How to support IE11 - DEV Community 👩💻👨💻
/** IE10 and IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist....
Read more >Is your Vue app not working in IE 11? Here's how to fix it.
This is a post borne out of frustration to help all those poor souls out there trying to find a solution to the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will make the fix as part of
3.0.0
which attempts to baseline IE support to version 9.Hi @squallstar, thanks for opening this issue.
I am not sure adding a polyfill is the right thing to do here. The Symbol object is not required to run
Mingo
and is only added as a convenience to enable for…of style iteration.Perhaps the correct thing to add a guard to test for the
Symbol
support and only add the iterator if it is available in the environment. This frees up users to bring their own polyfill if they want to use thefor..of
style syntax.