Back preserving previous searchParams
I have a
I've read the docs but can't find a clear way to do this — preferably using
/users page that has pagination ie. /users?page=2. I then have a details page at /user/<id> eg /user/7. I want to mirror the functionality of the browser and preserve that search param from the previous page with a custom "back" button on-page.I've read the docs but can't find a clear way to do this — preferably using
<Link> if possible to keep it simple.