T
TanStack8mo ago
other-emerald

Route Re-rendering when using query params on same path

I recently started using TanStack Start with Query and Table, and I’ve run into an issue I’m hoping someone can help with. I have an API endpoint that has "limit", "offset" and "search". These values are passed through query params, and I’m using the useReactTable hook to manage the table’s state. When I update the query params (e.g., to move to the next page or change the limit or offset), the entire route re-renders, causing a noticeable flicker. The flicker doesn’t only happen with pagination. For example, I also have an input field that updates the query params to add a search filter for the endpoint, and this also triggers the flicker. Has anyone faced a similar issue? If so, could you point me in the right direction for solving this? I’d greatly appreciate any advice or guidance!
1 Reply
other-emerald
other-emeraldOP8mo ago
I forgot to mention that its happening when I update the query params on the same route

Did you find this page helpful?