A SkillsCast for this session is not available.
Use React? Use GraphQL? Love Hooks? Graphql-hooks is a new GraphQL client for React with a hooks-first API. It’s super fast and weighs only 1.9kB gzipped.
The motivation behind graphql-hooks was a barebones GraphQL Client, focused on speed and lightweight. Both Apollo and Relay have pioneered how to use GraphQL on the client. However, over the years they’ve grown in size and complexity. This has increased the barrier to entry for new developers excited to try out GraphQL.
In this workshop, David will be demonstrating how quick and simple it is to get up and running with graphql-hooks. He’ll also do a direct comparison with Apollo using the Next.js example.
- A simple GraphQL server using fastify
- Integrating graphql-hooks with a CRA app
- Add Caching
- Add SSR
- Add Pagination
- Live refactor of Next.js with-apollo to use graphql-hooks
YOU MAY ALSO LIKE:
Workshop: GraphQL, Simplified
David Mark Clements is a Principal Architect, fullstack/React and Node.js performance specialist and the author of Node Cookbook. He is currently serving as Principal Architect with NearForm.