Is getStaticProps needed with only a common.json file? #1955
Unanswered
dominictobias
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.
-
Hey, I'm wondering if it's necessary to add
getStaticPropsto every page, if the only translation file is common.json? I would imagine this one loads automatically or is that not the case?If not is it possible to use
getStaticPropsin_app.js/tsxinstead? I added it but no new props came through inpagePropsso I'm unsure if that's a valid use. Seems wasteful to have to add it to every page when every page is the same.Thanks
Beta Was this translation helpful? Give feedback.
All reactions