useTransition
A full explanation is available here
- useTransition is a React Hook that lets you update the state without blocking the UI.
- There are two examples here - tab control state updates with without transitions.
- Tab with transitions don't block tab traversal during slow page loads
- Tab traversals are also interruptable as the UI is not locked by state updates.
tabs with useTransition
△
contact
tabs without useTransitions
△