Why I don't use React-Query and tRPC in Next.js

Published: 12 February 2024
on channel: ByteGrad
91,624
2.9k

Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship). Add auth to your Next.js app fast: https://bit.ly/3QOe1Bh
👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...

👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
👉 Professional JavaScript Course: https://bytegrad.com/courses/professi...
👉 Professional CSS Course: https://bytegrad.com/courses/professi...

👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): https://email.bytegrad.com

⏱️ Timestamps:
0:00 Intro
0:20 Data fetching before React-Query
2:20 Data fetching with React-Query
4:30 Data fetching without React-Query (Next.js)
8:55 GET / Query before tRPC
9:45 GET / Query with tRPC
10:52 GET / Query without tRPC (Next.js)
11:40 POST / Mutation before tRPC
12:25 POST / Mutation with tRPC
13:08 POST / Mutation without tRPC (Server Actions)
18:33 Overview

#webdevelopment #programming #coding #reactjs #nextjs