Skip to main content

All Questions

0 votes
1 answer
76 views

How to handle IE11 compatibility on each dependent packages?

I’m building an app which uses React(v.17.0), Next.js(v11.1.2), … and other stacks. Next.js probably, in default, supports IE11. After I added some packages to my project, it fails on IE11. It says, ...
loone96's user avatar
  • 807
3 votes
1 answer
4k views

nextjs ie11 Expected identifier

I've been developing on Chrome, hoping that Babel simply fits my code into i.e. One error occured SCRIPT1010: Expected identifier internet explore point the error here (this file is in static/chunk). ...
minjae kim's user avatar
1 vote
1 answer
2k views

SCRIPT1002: Syntax error in Next JS website in IE11 (getSession)

I am new to NextJS but have managed to make a website that works fine in all browsers except IE11. The issues in the console read.... SCRIPT1002: Syntax error _app.js (20481,19) Which is this ...
MomasVII's user avatar
  • 4,941
0 votes
0 answers
77 views

CSS not applied while adding returned CSS from a function to a styled-component for IE11?

I have written a function which returns CSS generated over iteration on an object and I want to use the returned CSS in a styled-component const getCss = (object, theme) => { let template = ``; ...
Sai Yerni Akhil's user avatar
6 votes
0 answers
14k views

How to polyfill IE11 in NextJS project?

I'm trying to polyfill the project for IE11 but no matter what I do browser logs these errors: Dev mode: SCRIPT1002: Syntax error in _app.js (49004,30) 49004 const Component = props => (...
Michael Rerberg's user avatar