Detect fallback in getStaticProps ? #14052
Unanswered
revskill10
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Do you know if we could detect if
getStaticProps
is running infallback
mode ? Just likerouter.isFallback
, there're some use cases that we need different behaviour when fallback is present ongetStaticProps
.I wish the arguments of
getStaticProps
could becomeBeta Was this translation helpful? Give feedback.
All reactions