Don't Try Catch These Next.js Errors
HTML-код
- Опубликовано: 7 дек 2023
- Next.js intentionally throws errors in your app, don't catch them.
Join this channel to help support me make videos
/ @sammeechward
🔗Moar Links
My Website: www.sammeechward.com
Instagram: / meech_ward
Twitter: / meech_ward
Github: github.com/orgs/Sam-Meech-Ward Наука
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!
That's seems to me like a bad API design in Next.js
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!
Hi ,
I want to learn about AWS (EC2,S3 , lambda) and their integration with React application. So from where I can learn these efficiently.
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 😘
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!
I love your videos, please do keep going
Really nice video, I dont know this, thanks a lot
great video, pretty mindblowing!
Absolutely agree! 💯%
Wow thats actually wild, I had no idea😮
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
This is a reason I'm still coding in react with the react router dom.
amazing video
Well broken down
great video
Thank you
Let's just re-throw it if its a NEXT_REDIRECT :')