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

useMutation Syntax in React Query

Arrange the elements of a useMutation call in React Query from left to right:

Items to put in order

  • const
  • ({ mutationFn: createMission })
  • useMutation
  • mutation
  • =

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