Does Next provide any function or information inside of nextjs to tell if current runtime is building a page with getStaticProps or getStaticPaths #15742
Unanswered
emilpriver
asked this question in
Help
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.
-
Hello,
Have an idéa of an tool to build for Nextjs.
Is there anyway to now if Next is currently building an SSG page from inside of an component or and hook?
I am thinking about building a function which would only be runned if a page is currently building an SSG page.
I can explain more if needed :D
Dear,
Emil
Beta Was this translation helpful? Give feedback.
All reactions