Put in order · JavaScript and React course · Module 10: React Ecosystem and Future
useQuery Syntax in Apollo Client
Arrange the elements of a useQuery call in Apollo Client from left to right:
Items to put in order
- (GET_MISSIONS)
- useQuery
- const
- =
- { data, loading, error }
You can check the correct answer by solving this task in the CodeWorlds game.