Don't Try Catch These Next.js Errors

  Рет қаралды 7,739

Sam Meech-Ward

Sam Meech-Ward

Күн бұрын

Пікірлер: 21
@enigma_steve
@enigma_steve Жыл бұрын
For the recent few days I have been having the WORST TIME of my dev life with this weird error. Your explanation cured my (metaphorical) cancer! Thanks a lot!
@aberba
@aberba Жыл бұрын
That's seems to me like a bad API design in Next.js
@sorintautu5025
@sorintautu5025 Жыл бұрын
I was doing the exact same pattern of abstracting the db queries is a separate function and calling that function from the server action and getting that error. Very good video!
@zunnoorainrafi5985
@zunnoorainrafi5985 Жыл бұрын
Hi , I want to learn about AWS (EC2,S3 , lambda) and their integration with React application. So from where I can learn these efficiently.
@JamesRyanCooper
@JamesRyanCooper 5 ай бұрын
Thanks for the very informative video! I had this issue and didn't realize it. It was causing an error to pop up during my authentication flow, which I was planning to investigate but hadn't gotten around to yet. You probably saved me hours of racking my brain. Thanks!
@Love-id8gu
@Love-id8gu Жыл бұрын
Hi. It's me again :)))) I think comments for youtubes affect positively on your channel! 😇❤ Could you please make the following video: example of user authorization, registration, user roles. Please use nextjs 14, typescript, server actions, nextauth 5, prisma, shadcn ui, react-hook-form, zod, sonner. Have a nice day 😘
@den9943
@den9943 9 ай бұрын
I don't know why you have not attached your lib, but I've found it (might-fail) and tapped a star in github. Thank you!
@wasteghost
@wasteghost Жыл бұрын
great video, pretty mindblowing!
@7doors847
@7doors847 Жыл бұрын
Absolutely agree! 💯%
@festusyuma1901
@festusyuma1901 Жыл бұрын
Had an error where my code always failed when I wrapped my redirect with a try catch. struggled with it for a few hours before realizing the try catch being there was the problem
@chrisgascoyne2958
@chrisgascoyne2958 11 ай бұрын
Wow thats actually wild, I had no idea😮
@carlosricardoziegler2650
@carlosricardoziegler2650 Жыл бұрын
Really nice video, I dont know this, thanks a lot
@danlazer741
@danlazer741 9 ай бұрын
This is a reason I'm still coding in react with the react router dom.
@shecodes94623
@shecodes94623 Жыл бұрын
I love your videos, please do keep going
@ninjasploit
@ninjasploit Жыл бұрын
Let's just re-throw it if its a NEXT_REDIRECT :')
@engine_man
@engine_man Жыл бұрын
Well broken down
@_tanzil_
@_tanzil_ 3 ай бұрын
OMG I never knew that!! Why the F*k nextjs would design their framework like that!! This is so unprofessional!!
@_tanzil_
@_tanzil_ 3 ай бұрын
Subscribed. And I'm gonna use the might-fail npm package. Thanks!
@eder3232
@eder3232 Жыл бұрын
amazing video
@naamees
@naamees Жыл бұрын
great video
@SamMeechWard
@SamMeechWard Жыл бұрын
Thank you
Don't Make These Next.js Mistakes
13:01
Dave Gray
Рет қаралды 24 М.
Next.js Is Confusing - Is This Server or Client Code?
8:28
Sam Meech-Ward
Рет қаралды 4,8 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Bash? Nah, I Have Bun.
12:38
Theo - t3․gg
Рет қаралды 74 М.
Next.js Error Handling Patterns || Common Mistakes To Avoid
41:54
tapaScript by Tapas Adhikary
Рет қаралды 3,4 М.
He wrote this out BY HAND? // Code Review
24:01
The Cherno
Рет қаралды 237 М.
“use cache” NextJS’s latest take on data caching
17:27
Jack Herrington
Рет қаралды 12 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 332 М.
The Problem with React Server Actions
9:45
Josh tried coding
Рет қаралды 24 М.
How to handle Node.js errors like a Pro?
12:44
Software Developer Diaries
Рет қаралды 37 М.
Why I don't use React-Query and tRPC in Next.js
18:58
ByteGrad
Рет қаралды 102 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 1,1 МЛН