-
-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Calling navigate('/foo') will leave search params in place unless there's a replacement search string after the /foo. I don't know why I'd want search to persist between different pages. And if I did, I could always do it manually with navigate(`/foo?${search}`).
This caused me issues where I have a couple routes that use similarly named search params, but whose values absolutely shouldn't carry over. So now I have to do navigate('/foo?dummy') in all of my navigation logic to prevent this behavior.
This really shouldn't be the default that people have to fight with.
jbott, fspoettel, jamsinclair, bensaufley and s-devaney
Metadata
Metadata
Assignees
Labels
No labels