TanStackT
TanStack14mo ago
13 replies
verbal-lime

Library nuqs

Can the nuqs (https://nuqs.47ng.com/) library be used in the tanstack route?

has anyone used it before? or is there another solution to make it easier to manage search params for universal use in a hook datatable tanstack table?

the hook is like this but to be implemented in react vite and tanstack route is different to manage the search params

https://github.com/sadmann7/shadcn-table/blob/main/src/hooks/use-data-table.ts
Type-safe search params state management for React. Like useState, but stored in the URL query string.
nuqs | Type-safe search params state management for React
GitHub
Shadcn table with server-side sorting, filtering, and pagination. - sadmann7/shadcn-table
shadcn-table/src/hooks/use-data-table.ts at main · sadmann7/shadcn-...
Was this page helpful?