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.

Review IE11 Unsupported ES6 Syntax on Project

See original GitHub issue
  1. What version of RJEA are you using (react-json-editor-ajrm version)? “react-json-editor-ajrm”: “^2.5.6”
  2. What operating system and processor architecture are you using Windows 10, Intel® Core™ i7-6700HQ CPU @ 2.60GHz

Hi,

I am using the editor and it works well on chrome but i have some problems on IE11 but i am not totally sure if is caused only by this library or some configuration of my project.

When i use the react-json-editor-ajrm and i try to use on IE11 the page is completely down, the console show me the a Syntax error. The syntax error, set the error in this line.

image

This is after of register the module in webpack.

I saw in your project that all the library has polifylls to support IE11, it think this is not a polifyll problem because i tried to add all possible polifyll and try and i got the same error.

If i add the library directly in my project (all files manually) it works perfect on IE11.

My babel devDependencies:

image

**My babel dependencies: ** image

index.js import '@babel/polyfill';

.babelrc image

.browserlistrc image

Any suggestion about this error, is it possible by my babel versions?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
IvanRodriCallejacommented, Nov 1, 2018

Hi,

I tryed both and any of this worked for me. I think the problem is the babel dependencies in my project but i am not totaly sure, i have to try to update all my dependencies, if It does’t work, i will try to start a project from 0 to can detect the problem.

0reactions
joshgocommented, Apr 27, 2021

Hi @AndrewRedican, Is this issue still being worked on?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support older Microsoft browsers and Office versions
Learn how to support support older Microsoft browsers and Office versions in your add-in.
Read more >
Prevent use of unsupported JavaScript features in IE11 using ...
I have an existing ESLint configuration with "ecmaVersion" set to "5" that I want to modify to allow the use of let and...
Read more >
Polyfills, transpilation, and browser support | by Dominic Fraser
Looking at two example features we can see support for each is mixed, with neither supported on IE11. // es6 "arrow" syntax
Read more >
T272104 Allow modules to opt-in to ES6 syntax support
In browsers that support ES5 but not ES6 (like IE11), we'd presumably want to execute the ... gerritbot added a project: Patch-For-Review.
Read more >
Internet Explorer 11 review, part 1
This particular release wasn't particularly interesting in terms of CSS for IE11, but switching to the latest Flexbox syntax gained it a bunch ......
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