Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Why I Don't Use React Query and tRPC in Next.js

ByteGrad via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn why a developer chooses not to use React-Query and tRPC in Next.js applications through practical comparisons and alternative approaches. Explore data fetching patterns before and after React-Query implementation, examining how Next.js handles data fetching without additional libraries. Compare GET queries and POST mutations across different approaches, including traditional methods, React-Query/tRPC implementations, and Next.js native solutions using Server Actions. Discover the trade-offs between popular third-party libraries and Next.js built-in features for data management, with detailed code examples and explanations of when each approach might be most appropriate for your specific use case.

Syllabus

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

Taught by

ByteGrad

Reviews

Start your review of Why I Don't Use React Query and tRPC in Next.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.