Don't Try Catch These Next.js Errors

  Рет қаралды 5,786

Sam Meech-Ward

Sam Meech-Ward

6 ай бұрын

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

Пікірлер: 18
@enigma_steve
@enigma_steve 6 ай бұрын
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 6 ай бұрын
That's seems to me like a bad API design in Next.js
@sorintautu5025
@sorintautu5025 6 ай бұрын
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 6 ай бұрын
Hi , I want to learn about AWS (EC2,S3 , lambda) and their integration with React application. So from where I can learn these efficiently.
@Love-id8gu
@Love-id8gu 6 ай бұрын
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 😘
@wasteghost
@wasteghost 6 ай бұрын
great video, pretty mindblowing!
@7doors847
@7doors847 6 ай бұрын
Absolutely agree! 💯%
@shecodes94623
@shecodes94623 5 ай бұрын
I love your videos, please do keep going
@den9943
@den9943 2 ай бұрын
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!
@carlosricardoziegler2650
@carlosricardoziegler2650 5 ай бұрын
Really nice video, I dont know this, thanks a lot
@chrisgascoyne2958
@chrisgascoyne2958 4 ай бұрын
Wow thats actually wild, I had no idea😮
@festusyuma1901
@festusyuma1901 6 ай бұрын
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
@ederEngine
@ederEngine 6 ай бұрын
amazing video
@danlazer741
@danlazer741 2 ай бұрын
This is a reason I'm still coding in react with the react router dom.
@engine_man
@engine_man 5 ай бұрын
Well broken down
@naamees
@naamees 6 ай бұрын
great video
@SamMeechWard
@SamMeechWard 6 ай бұрын
Thank you
@ninjasploit
@ninjasploit 6 ай бұрын
Let's just re-throw it if its a NEXT_REDIRECT :')
Don't Make These Next.js Mistakes
13:01
Dave Gray
Рет қаралды 21 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 3,3 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 170 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 7 МЛН
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 16 МЛН
DiagramGPT - Honest Review of Eraser AI
8:22
Sam Meech-Ward
Рет қаралды 110 М.
Bash? Nah, I Have Bun.
12:38
Theo - t3․gg
Рет қаралды 71 М.
Native JSON in OTP 27! (Elixir, Erlang, Gleam)
2:03
Code & Stuff
Рет қаралды 1,1 М.
Easiest Database Setup in Next.js 14 with Turso & Drizzle
38:09
Sam Meech-Ward
Рет қаралды 15 М.
Try Catch Error Handling With TypeScript
8:53
ByteGrad
Рет қаралды 6 М.
Applying clean architecture to my Next.js project
20:15
Web Dev Cody
Рет қаралды 64 М.
Tailwind-Merge Is Incredibly Useful - And Here's Why!
12:58
simonswiss
Рет қаралды 34 М.
TOP-18 ФИШЕК iOS 18
17:09
Wylsacom
Рет қаралды 584 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 251 М.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 774 М.