2 ms·
Doesn't react-router do something like this?
by PaulHoule 1y ago
Doesn't react-router do something like this?
- nosefurhairdo 1y agoYep, `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/ https://nuqs.47ng.com/