Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 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.
-
Hello there
I followed the documentation to use react-query in my Nextjs app which one of my pages renders stuff on the server side.
but the thing here I don't know if I am mistaken or what.
when I try to remove this in the getServerSideProps function
await queryClient.fetchQuery(["question"], getQuestion)
it still works.my Question function takes
locale
andparams.id.
but I'm giving it outside the getServerSideProps function. am I doing something wrong or it actually renders on the server side?Beta Was this translation helpful? Give feedback.
All reactions