-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Next.js pages with dynamic content do not server side render #8174
Comments
|
@timneutkens thanks I implemented that now, but this raises the following issue: #8186 |
To fix this warning, I have to make ssr: false for the component |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
Dynamic import does not render in HTML.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
pages/[id].jsx
Expected behavior
HTML of the custom component should be visible
System information
Additional context
It does work if i declare
Comp
above the function. But the component loaded will be based on the id of the query. For simplicity its now hardcoded for footer.The text was updated successfully, but these errors were encountered: