Protected Routes In Under 5 Minutes: Next.js

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Amazing! Thank you so much, you deserve so many more subscribers! This was easy to understand and straight to point! Love it, keep it coming

tonyartz
Автор

this is the most straight forward and simple tutorial with good implementation

ralphwealth
Автор

Thanks spent quite some time trying to find a simple tut as like this one

matthewmubvaruri
Автор

Thank you for making it simple to understand and open for us to tweek its conditions 🎉❤

rfryanfavour
Автор

Great video sir. Learned a-lot. You made it simple to understand. Thanks.

farrukhahmad
Автор

Thank you so much. Great video. If I have to protect multiple routes than what should I do?

shahreazneeloy
Автор

It's works for me. And you help me a lot. Thank you so much!

tharsilaborges
Автор

I used another approach but it has a similar logic so when i deployed it on vercel on hobby plan sometimes vercel serverless functions crushes do you have any idea why this happens

mooder
Автор

thank you you went straight to the point

ThYounesse
Автор

Perfection thank you sir you made my day <3

MohamedMahmoud-peqm
Автор

Can this approach be used with firebase?

alitonoliveira
Автор

What's gonna be alternative approach if we are on next 9, I'm on next 9.3.6 and updating cause a lot of issues. What do you suggest in that case? Thanks in advance for the consideration!

CodeSprint_site
Автор

Can we use localStorage access token here?

hrithikrudra
Автор

I've been trying to make a mongoose connection in middleware, but it errors. Trying to figure out if this kind of operation may take place in middleware.js..

mutantthegreat
Автор

how it will work for multiple pages in protected routes ? is any method ?

mohamedkalid
Автор

Thank you so much bro you are awesome I hope you get 10000 subscribers on youtube

gorkemyagc
Автор

Thank you for sharing valuable video bro

taratarinipatnaik
Автор

How can we hide / show header based on the cookie ?

knuseski
Автор

but if cookie is set from backent, and cookie is a jwt token, then how to check?

rajraman
Автор

I am trying to implement here a middleware because the project I am working on was configured to be only on client side so every time I try to use the middleware I keep getting:
Middleware cannot be used with "output: export".

Do you know a workaround for that?

PauseCode