Question · JavaScript and React course · Module 9: Modern React Hooks

useTransition for Non-Urgent Updates

What is the useTransition hook used for in React?

Answer options

  • It automatically caches component rendering results
  • It creates transition animations between components
  • It allows marking state updates as non-urgent, so the UI stays responsive during heavy operations
  • It manages routing and page transitions

You can check the correct answer by solving this task in the CodeWorlds game.