Replies: 1 comment
-
We are facing the same issues. The script is not loading because the Head loads after componentdidmount() which is not expected behaviour. Can anyone helpe ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As I understand from my SO question , I can use next/head to embed a script tag within a component of my React / Next JS app. So, I went about it as such:
Unfortunately, nothing rendered. I don't know if I'm missing something obvious here...
I'm using Next 9.1.7.
My _app.js looks like this:
And my _document looks like this:
Beta Was this translation helpful? Give feedback.
All reactions