Talk type: Talk

GraphQL fragments on the client: Appearance history, usage errors

  • Talk in Russian
Presentation https

Pavel will tell the real story of Facebook about how models were written on the clients, how they received data and worked with it. How evolved over time, solving certain problems.

During this session, following approaches will be discussed: JSON Models (hard manual work), Type Models (similar to generating models from Swagger), Responsible Models (ApolloClient approach), Fragment Models (Relay approach).

Speaker will also share common frontend mistakes that were made during the work with GraphQL fragments.

And if time allowes in bonus track Pavel will tell about how "gray" scientific works that describe the possibilities of GraphQL too cool began to appear: "We'll show that GraphQL can reduce the size of the JSON documents returned by REST APIs in 94% (in number of fields) and in 99% (in number of bytes), both median results". GraphQL is certainly cool but not like that.

  • #best practices
  • #casestudy

Speakers

Talks