Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Doesn't react-router do something like this?


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/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: