Replies: 1 comment 2 replies
-
It would be easy with |
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.
-
How do I remove a search param in beforeLoad or search middleware, but also have that value appear in context?
I have a search parameter that I want passed in, but I immediately want to remove it so that it doesn't appear again if the user hits back.
I can do this in useEffect and navigate with replace: true. I can also strip out the parameter in search, but then it disappears altogether in beforeLoad and laoderDeps
Beta Was this translation helpful? Give feedback.
All reactions