Because useTransition is a Hook, it cannot be called outside React components or custom Hooks. React also exports a standalone startTransition API for non-component code.
Question 10 of 20 in useTransition Quiz