-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
onInitialClientRender not called on IE10 #11604
Comments
@gluemonkey i've picked up on your issue. And below are the steps i've taken and the results achieved.
exports.onInitialClientRender=()=>{
console.log(`onInitialClientRender was fired`);
}
As you can see the site is being rendered and browser api is triggered, No issues whatsoever from my side. It could be that you have something else happening in the api that could be causing the issue. Feel free to provide further feedback so that this issue can be solved. |
Based on ded/domready#53 it does seem that IE10 support is broken by domready after 1.0.7 because of some regex matching code that was added Let me try reproducing this and I'll post what I can find here |
Same issue although for me - 1.0.7 does not work either. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m Thanks again for being part of the Gatsby community! |
any updates about this? It still doesn't work if I downgrade domready to 1.0.7. |
Description
onInitialClientRender is never called and initial client render does not happen in IE10
Steps to reproduce
View a basic starter build in IE10 and notice that render is never called within your components.
Expected result
onInitialClientRender should be called inside of gatsby-browser.js and your React components should render.
Actual result
onInitialClientRender is not called inside of gatsby-browser.js and your React components do not render. Pre-rendered version still loads. Upon navigating and hitting the back button the intended functionality will occur.
Environment
Standard gatsbyjs build.
Workaround
Using yarn I am able to override the domready version and this seems to fix the issue
Please refer to this issue - ded/domready#53
The text was updated successfully, but these errors were encountered: