TanStackT
TanStack12mo ago
21 replies
dead-brown

Where search validation happens?

I have many cards when I click on it it gets highlighted. The logic is simple, I get the selected id from hook route.useSearch.
I use useNavigate().navigate() to set the active id

The problem is when I set the internet to slow on dev tools the cards take a lot of time to get highlighted.

Does search validation happen on server?
If so, what is the solution to get this on client?
Was this page helpful?