Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Pass Parameters to urql's useQuery React Hook


    When you fetch data, you often want more than what a static query can give you.

    In this lesson, we pass use useQuery's configuration object to pass variables into our GraphQL Query.

    Urql will execute the same query with new variables whenever it detects that one of the variables it is passing to Graphql has changed.