T
tRPC

❓-help

How can i modify my URL using TRPC

DDxD10/11/2023
I did a simple pagination in react and trpc(a simple table), only problem is that: i want in my url to show page and limit whenever i modify it(like this .../human-resource/employee&limit=2&skip=5) How can i do this ?
Nnlucas10/11/2023
Not a trpc concern, that’s one for your client router. Use-query-params is nice with react-router
DDxD10/11/2023
ok, i will try do u have an example smt ?

Looking for more? Join the community!