-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It's currently easy to change query parameters, but it'd be cool to have something that allows updating path parameters easily as well.
An example use case:
Imagine you have a backoffice where you can navigate to different pages to administer organizations. The organization slug is a path parameter in the URL. The page also has a search bar at the top, where you can search for organizations and move to their backoffice.
Now, imagine you want to stay at the current page when searching in that bar, just switch out what org you're looking at. This is pretty painful to do today. But, if we have something like Routes.Backoffice.Dashboard.updatePathParams(~slug=newSlug)
then that would be very easy instead.
cc @Kingdutch , what do you think?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request