Josh Goldberg
GraphQL + Apollo + Next.js: A Lovely Trio
#1about 5 minutes
Getting started with Next.js for React applications
Next.js provides file-system based routing and a Link component that enables fast, single-page application navigation with intelligent prefetching.
#2about 6 minutes
Exploring data fetching strategies in Next.js
Learn to pre-render pages with data using `getStaticProps` for build-time generation and `getServerSideProps` for fresh data on every request.
#3about 5 minutes
Implementing dynamic routes and using TypeScript
Create dynamic pages using bracket syntax in filenames and leverage Next.js's built-in support for TypeScript to add type safety to your components and props.
#4about 4 minutes
Understanding the core concepts of GraphQL APIs
GraphQL allows clients to request exactly the data they need by querying a well-defined schema, which enables powerful, auto-generated documentation and tooling.
#5about 3 minutes
How to build a GraphQL schema with resolvers
Define your API's capabilities by writing a GraphQL schema and implementing resolver functions that fetch the data for each field.
#6about 4 minutes
Using variables in queries and performing mutations
Pass dynamic values into your queries using variables and modify server-side data by defining and executing GraphQL mutations.
#7about 3 minutes
Auto-generating types with GraphQL Code Generator
Use GraphQL Code Generator to automatically create TypeScript types and even React hooks directly from your GraphQL schema and query files.
#8about 3 minutes
Connecting Next.js and GraphQL with Apollo Client
Integrate your GraphQL API into a Next.js application using Apollo Client to manage state, caching, and data fetching with generated React hooks.
#9about 4 minutes
The benefits of a composable JavaScript ecosystem
React's focused, single-purpose design fosters a rich ecosystem of specialized libraries, enabling developers to mix and match tools for rapid innovation.
#10about 2 minutes
Q&A on GraphQL federation and Next.js authentication
The speaker answers audience questions about using GraphQL to query multiple REST microservices and strategies for handling authentication.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
35:44 MIN
Answering questions on headless architecture
Fast & Furious - Going headless with Nuxt.js!
02:00 MIN
Introducing GraphQL and its core concepts
GraphQL: Does it replace SQL, REST or Something Else?
04:00 MIN
A quick introduction to GraphQL fundamentals
GraphQL Mesh – Why GraphQL between services is the worst idea and the best idea at the same time!
27:03 MIN
A detailed breakdown of modern web frameworks
Web development best practices in 2021
32:41 MIN
Audience Q&A on tools, errors, and GraphQL
API Design - Getting Started
02:21 MIN
The rapid evolution of JavaScript and modern web APIs
The year 3000, a brief history of Web Development
44:31 MIN
Q&A on GraphQL, team structure, and vendor software
Building high performance and scalable architectures for enterprises
21:01 MIN
Using GraphQL as a contract for team collaboration
GraphQL: Does it replace SQL, REST or Something Else?
Featured Partners
Related Videos
Building Interactive Async UI with React 19 and Ariakit
Aurora Scharff
GraphQL: Does it replace SQL, REST or Something Else?
Gregor Bauer
Microfrontends at Scale
Josh Goldberg
Putting the Graph In GraphQL With The Neo4j GraphQL Library
William Lyon
Next, Nest, Nuxt… Nust?
Marius Obert
Rethinking Reactive Architectures with GraphQL
David Leitner
Rapid GraphQL API Development with PostGraphile
Ruwan Xaviour Fernando
GraphQL Mesh – Why GraphQL between services is the worst idea and the best idea at the same time!
Uri Goldshtein
From learning to earning
Jobs that call for the skills explored in this talk.
![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL






![Senior Backend Software Engineer (TypeScript) [Prisma ORM]](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma Data, Inc.
Remote
Senior
C++
Next.js
JavaScript
TypeScript
![Senior Backend Software Engineer (TypeScript) [Prisma ORM]](https://wearedevelopers.imgix.net/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Backend Software Engineer (TypeScript) [Prisma ORM]
Prisma Data, Inc.
Remote
Senior
C++
Next.js
JavaScript
TypeScript