Replies: 1 comment 2 replies
-
Hi @BCalpe. There is no explicit way to pass data between pages with Next. With that being said, you could use sessionStorage to save short lived data between pages. Or if you use |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi,
I'm trying to find a way to pass data from one page to another.
Page 1 retrieves json data and wants to send it to Page 2.
How can I do that?
Another way could be to use routing and pass query parameter and based on that data fetch the data needed.
Problem I encountered here is how can getInitialProps know the query data.
Any suggestions how to solve this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions