|
|
|
|
|
by franky47
329 days ago
|
|
> Still the boilerplate makes me wonder if it belongs in a library, eg. a React hook that’s a drop in replacement for `useState` That’s exactly what `nuqs` does (disclaimer: I’m the author). > Backend logic would still need to be implemented Assuming your backend is written in TypeScript, you can use nuqs loaders to reuse the same validation logic on both sides. https://nuqs.47ng.com |
|