The URL Is State: Filters, Sorting, Pagination and Modals in the Address Bar
When state belongs in the URL rather than useState or a server cache, parsing and validating search params with a schema, push vs replace, debouncing a search box, syncing with the Next.js 16 App Router, nuqs, and the back-button and SEO traps.
Systems & architecture8 min