Hacker News .hn
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
PaulHoule
9 months ago
|
parent
|
context
|
favorite
| on:
URL-Driven State in HTMX
Doesn't react-router do something like this?
nosefurhairdo
9 months ago
[–]
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: