-
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
onRenderBody and onPreRenderHTML are not being called in gatsby-ssr #28170
Comments
Hi @ilyador I've tried reproducing this with similar code to yours, and have had no luck. To help us best begin debugging the underlying cause, it would be really helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. Thanks! |
I was trying to do something similar the other day with |
Perfect timing, I ran into this today but 2.27.0 is out 👍 |
Hi! Since we didn't receive an answer for 7 business days or more about the ask of a reproduction I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do answer here or reopen the issue. Thanks! |
This is how my gatsby-ssr looks like:
Whatever I put inside
onRenderBody
andonPreRenderHTML
is never executed, even the simplest things to test likeconsole.log
.For context, I am trying to implement this solution to the SEO issue #22206 (comment)
The text was updated successfully, but these errors were encountered: