### What version of React Router are you using? 6.27.0 I was able to repro the bug. This is a stackblitz with an environment that allows you to repro. I used 6.27.0 https://stackblitz.com/edit/github-ypgwe9?file=src%2Fapp.tsx,src%2Fmain.tsx I've attached two videos explaining the bug as well: 1. (control) Expected behavior: https://github.com/user-attachments/assets/0a4dc1b5-9472-4188-8428-4c8f2731e770 3. Search params returning a value that should be blocked, IF using the (prev) value in the `setSearchParams` function https://github.com/user-attachments/assets/4fff6c02-f1a1-4146-8d3e-a72cfe3be88d