TanStackT
TanStack11mo ago
4 replies
then-purple

How to use the startTransition from react?

I have a page that has a few tabs (tab types). The page feels laggy when I switch between tabs quickly.

I think I would like to implement the useTransition() hook from React to prevent rendering when the user tries to switch tabs quickly.
Was this page helpful?