Replies: 3 comments 1 reply
-
You might be looking for |
Beta Was this translation helpful? Give feedback.
1 reply
-
Paging @Timer |
Beta Was this translation helpful? Give feedback.
0 replies
-
Its a very simple change that will benefit many use cases |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
#15255
Hi everyone.
I have a use-case where I need to access the http request on SSG Previews.
It wouldn't hurt to pass the ctx as a prop on getStaticProps, so that's is my proposal.
Example usage would be:
The cookie I am trying to read is set by an Iframe on a different domain that is rendered on the page.
It will change between routes, hence not able to use
setPreviewData
api.Beta Was this translation helpful? Give feedback.
All reactions