Set up an Urql GraphQL Provider in React

Share this video with your friends

Send Tweet

In this lesson, we create an urql client with the createClient method. Once we provide the createClient our GraphQL endpoint, we pass the client to urql's Provider component so that the urql can be used in our application.