generated at
useTransition


ts
const [isPending, startTransition] = useTransition();
isPending startTransitionを返す
isPending Transitionが進行中かどうかを判定できる