Type 'false' is not assignable to type 'true' in getServerSideProps #641
Unanswered
kevinnammour
asked this question in
Q&A
Replies: 0 comments
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.
-
There is a weird behavior when it comes to returning different props in getServerSideProps. For simplifying the question, I will give a small example:
Suppose I have this code:
There is a red highlight on the line where I wrote the comment. It's saying this:
Why is that?
Beta Was this translation helpful? Give feedback.
All reactions