Skip to content
Discussion options

You must be logged in to vote

I think you might want to use a different approach here. Maybe:

You can also use useTransition's isPending state, so when the user "queues" up a route change, you show your acrylic effect, and then when the route change commits and complets, the isPending flag is set to false, and you can remove the acrylic effect.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eloraa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants