Skip to content

What is __N_SSG? #12558

Answered by Timer
Vadorequest asked this question in Help
May 6, 2020 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

This is a private field (mind the double underscore) used by Next.js to know the page needs its static data fetched on client-side transition.

You cannot rely on it, as we've already renamed it a few times and do not plan on making it a public API. We may even remove it in the future.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Vadorequest
Comment options

@Timer
Comment options

@Vadorequest
Comment options

@Vadorequest
Comment options

@Vadorequest
Comment options

Answer selected by Timer
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