The GraphQL client that scales with you.

Prerequisites

Note

IMPORTANT: The tutorial is meant to be gone through in order, as the exercises build on each other. You’ll be making incremental changes to an example app, so later section won’t make sense if you haven’t done the earlier sections

1 GraphQL and Relay

2 Query basics + useLazyLoadQuery

const NewsfeedQuery = graphql`
  query NewsfeedQuery {
    topStory {
      ...StoryFragment
    }
  }
`;

3 Fragments + useFragment

Untitled