Skip to content
Discussion options

You must be logged in to vote

getInitialProps can be used still (legacy), but I believe it's preferred to use getServerSideProps (where the behaviors are loosely the same). As you find places where you would be able to use getStaticProps, that is even better.

Re: using getStaticProps in _app, I did a quick search and found this: #10949

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Vadorequest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants