Replies: 1 comment 1 reply
-
The location.state is a client-side only thing that the browser keeps in the History API, the only way to use it server-side would be to send it yourself to the server (on the request body for action or search params for loaders). |
Beta Was this translation helpful? Give feedback.
1 reply
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!
Would anyone happen to know how you could access the react-router version of location.state inside a loader function
Beta Was this translation helpful? Give feedback.
All reactions