Alternative to react-router location.state and location.hash in next js #13924
Unanswered
hammad-shahid-educative
asked this question in
Help
Replies: 1 comment
-
@timneutkens It will be a good feature if we can add it in nextjs as passing data from react-router is built-in persistent and not visible in url. This will be helpful for server side rendering async data , when we dont want to expose sensitive information by storing in cookie/localstorage/sessionstorage |
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.
-
location in react- router looks like this:
previously with react-router I can pass any value in state using history.push and that values are not visible in url. How can I do it with next js ? Also how can I get hash values in next js
Beta Was this translation helpful? Give feedback.
All reactions