Replies: 1 comment 6 replies
-
Are you using dynamic pages (e.g. https://nextjs.org/docs/basic-features/data-fetching#getserversideprops-server-side-rendering Obviously ignore if you are indeed using query parameters and this is still breaking :) |
Beta Was this translation helpful? Give feedback.
6 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to change code with
getInitialProps
to usegetServerSideProps
. I have something like:This works fine for both client and SSR. When I simply change the
getInitialProps
togetServerSideProps
everything breaks becauseobjId
is now undefined. How do I get this to work?Beta Was this translation helpful? Give feedback.
All reactions