Query parameters that are only needed client-side #617
Unanswered
BrentChesny
asked this question in
Help (React)
Replies: 1 comment
-
I have this problem too. Did you ever find a solution? |
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
-
I am working on an Inertia-react application that has a react component that can be manipulated to explore some data. I want to encode some state of this component as url query parameters, so that a specific view can be shared by sharing the url. What would be the best way to update the query parameters in an inertia compliant way?
window.history.replaceState()
doesn't seem to work when I navigate away and then go back.Inertia.replace()
would make unnecessary server calls I guess?Any insights would be greatly appreciated 🙂
Beta Was this translation helpful? Give feedback.
All reactions