React GraphQL Query

Learn to implement GraphQL Query in React and fetch issues from an organization's repository.

In this lesson, we are going to implement our first GraphQL query in React and get issues as a result of the query from an organization’s repository for our Issue Tracker application.

Fetching an ‘Organization’

Let’s start by fetching only an organization. Here goes the query that is to be defined as a variable above the App component:

Get hands-on with 1200+ tech skills courses.