-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
React app not rendering in IE11 and below #522
Comments
From the babel-preset-razzle README.md:
Because IE11 (and older) does not have native support, it might be the problem. Have you tried to polyfill |
@jirikuchta I tried to add |
Hey, I've just run into this issue as well. Starting a new razzle app and booting it up in IE11, it gets back the server-rendered stuff but then the client-side javascript (ie, the element styling) breaks. The error that comes up in the IE11 console is: The source of the error is an arrow function in Adding some babel configuration to transpile JS for IE11 will (by default) only apply to code outside of the Does that sound about right, or have I got the wrong idea here? |
Ah, ignore my last comment, it appears this has been fixed: #547 |
Then this issue probably can be closed? |
It looks like it's still a problem for branches other than |
Hey, I have a project with razzle version 0.8.14 and this issue is still present. Can we expect an update with the downgraded |
I have a project with razzle verison 3.0.0 and this is still an issue for me. |
The issue is already reported and closed under react #8379 and fixed in create-react-app #2691
I justed copied some content of the reported issues, I hope that helps
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
A blank white screen shows instead and a syntax error is thrown in the console.
I testet a clean create-react-app app and create-razzle-app app in <= IE 11. The cra app did work as expected but the cr(zzl)a app didn't.
What is the expected behavior?
To render as it does in Chrome, Firefox, etc.
Environment
node -v: 9.5.0
npm -v: 5.6.0
yarn -v: 1.3.2
Then, specify:
Operating system: macOS High Sierra 10.13.3
Browser and version (if relevant): Internet Explorer <= 11 (via VirtualBox)
Steps to Reproduce
yarn add global create-razzle-app
create-razzle-app my-app
cd my-app
yarn start
Open Internet Explorer 11 and navigate to app URL
Observe a blank screen and check console and see syntax error has been thrown
I also tried the suggestions in the react issue above but couldn't fix it.
The text was updated successfully, but these errors were encountered: