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
_document.js does not work for React.JS v18 #35711
Comments
Have you tried I have run into a similar issue, and downgrading to Update The custom Update The change related to the issue is 4f6bb5e. Custom It also means that any feature provided by Next.js that is not yet supported by React 18 (E.g. |
Hi @SukkaW Yes. I have tried to downgrade to I recognize that the changes between Looking forward to a further answer & solution to this issue. |
We're working on a fix for this issue in #35736. Will be out on stable today 🙏 |
Looks like the bug is still there in 12.1.3: #35758. Maybe it’s not the same one, but something quite similar. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
Describe the Bug
_document.js
does not work for React.JSv18
Expected Behavior
_document.js
and components such asnext/head
should work for React.JS v18To Reproduce
create a basic next.js project and create a
_document.js
file in/pages
.The text was updated successfully, but these errors were encountered: