Skip to content
Discussion options

You must be logged in to vote

This data would be better computed within getStaticProps so that the code could be eliminated.

https://nextjs.org/docs/basic-features/data-fetching#getstaticprops-static-generation

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jensmeindertsma
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