Can URQL replace Apollo Client? URQL tutorial with SSR and SSG in under 20 minutes using Next.js

Published: 04 March 2021
on channel: Leigh Halliday
10,568
380

Let's see how to use URQL and set it up to handle SSR and SSG inside of Next.js. URQL is a lightweight replacement for Apollo Client that handles most of what you typically use Apollo for, in a very similar fashion.

---------- Course

Want to go deeper with Next.js? Join me in my Next Level Next.js course where over 29 videos and 8 hours of content we'll build a full application from start to finish. We use TypeScript, GraphQL, Prisma, Apollo, Mapbox, Firebase and lots more. https://courses.leighhalliday.com/nex...

---------- Links

URQL - https://formidable.com/open-source/urql/
Source Code - https://github.com/leighhalliday/urql...
Starting Code - https://github.com/leighhalliday/urql...

---------- Connect

Join this channel -    / @leighhalliday  
Join me on Discord -   / discord  

---------- Timeline

00:00 - Introduction
01:50 - Setting up URQL client
05:00 - Adding URQL Provider
05:45 - URQL's useQuery hook
09:30 - SSR with URQL in Next.js
15:45 - SSG with URQL in Next.js
19:45 - Conclusion


Watch video Can URQL replace Apollo Client? URQL tutorial with SSR and SSG in under 20 minutes using Next.js online without registration, duration hours minute second in high quality. This video was added by user Leigh Halliday 04 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,568 once and liked it 380 people.