Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE 11 does not work #118

Open
kamrul-suhel opened this issue May 8, 2020 · 2 comments
Open

IE 11 does not work #118

kamrul-suhel opened this issue May 8, 2020 · 2 comments

Comments

@kamrul-suhel
Copy link

kamrul-suhel commented May 8, 2020

Hi thank you for your wonderful work it is amazing repository & you are updating frequently. thank again. I just notice this package is not working on IE 11. I tried to change browser list but no luck.
none of react link work properly it look rerender the page again.
will you please help
Thank you

ie11

@zorgick
Copy link

zorgick commented May 8, 2020

Hi! Unfortunately I cannot test your problem in ie 11, but what you can do is change configuration of your project.
Firstly, delete this file .browserlistrc. Secondly, add this code in babel.config.js after 11th line browsers: '> 0.25%, ie 11', bundle your code and start it again.

Let me know, if it didn't help.

@tomtom94
Copy link

tomtom94 commented Oct 2, 2022

Just use my setup and you are good to go :)

https://github.com/tomtom94/react-easy-ssr

You'll need to change this line
https://github.com/tomtom94/react-easy-ssr/blob/master/babel.config.js#L12

from

targets: web ? 'defaults' : { node: process.versions.node }, // https://babeljs.io/docs/en/options#targets

to

targets: web ? ['defaults', 'dead'] : { node: process.versions.node }, // https://babeljs.io/docs/en/options#targets

Please IE11 is a dead browser checkout right here https://browsersl.ist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants