<DxD/>
<DxD/>15mo ago

How can i modify my URL using TRPC

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 ?
2 Replies
Nick
Nick15mo ago
Not a trpc concern, that’s one for your client router. Use-query-params is nice with react-router
<DxD/>
<DxD/>OP15mo ago
ok, i will try do u have an example smt ?