Hacker News new | ask | show | jobs
by PaulHoule 329 days ago
Doesn't react-router do something like this?
1 comments

Yep, `useSearchParams()`. At work I built a wrapper to incorporate zod schemas for typesafe search param state. Nuqs is the best for this if your application meets its prerequisites: https://nuqs.47ng.com/