Click in order · JavaScript and React course · Module 10: React Ecosystem and Future

useTransition Usage Pattern

Arrange the code for using startTransition to mark an update as non-urgent:

Items to click

  • setSearchResults(filtered)
  • startTransition(
  • )
  • }
  • {
  • () =>

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