Skip to content
Discussion options

You must be logged in to vote

You're not doing anything wrong: state updates are optimistic, and so will naturally feel faster on the client than doing a round-trip to the server.

You can exacerbate the problem by throttling your network connection in the devtools, to simulate additional latency.

Hard to say without seeing the whole page, but you could try having those tabs being part of the pathname rather than the search params, for faster navigation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zisvh
Comment options

Answer selected by zisvh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants