useTransition

Available since 18.0

Only works inside fc

See also