Skip to content

Why is __namespaces loaded in the page props when using getStaticProps #1236

Discussion options

You must be logged in to vote

It should load only the JSON of the page namespace and with the language of the page. The JSON of the translations is loaded in build-time, but the translations are done in runtime, since they can dynamically change their values. We recommend that you define the namespaces properly, so that each page has a different namespace.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MathiasPawshake
Comment options

Answer selected by MathiasPawshake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants