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

Apollo useQuery Syntax

Arrange the syntax for using the useQuery hook with Apollo Client:

Items to click

  • =
  • GET_MISSIONS,
  • { variables: { status: 'active' } }
  • )
  • const { data, loading, error }
  • useQuery(

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