question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Library does not work on IE11 because of Symbol being undefined

See original GitHub issue

Hello, 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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kofrasacommented, Apr 9, 2020

I will make the fix as part of 3.0.0 which attempts to baseline IE support to version 9.

1reaction
kofrasacommented, Mar 8, 2020

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 the for..of style syntax.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found