Тёмный

Nextjs Abstractions & Common Mistakes 

Ljupche Vasilev
Подписаться 1,7 тыс.
Просмотров 413
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@justincode327
@justincode327 5 месяцев назад
In middleware how can you restrict access on a certain page? I mean like access control for each user? because a user can just type the url
@enz1222
@enz1222 5 месяцев назад
You can set up the middleware to run before the protected page(or any other pages you want) is loaded so at that point you can check user authentication redirect them wherever you want if they arent authenticated. so even if they type it out they wont access it.
@LjupcheVasilev
@LjupcheVasilev 4 месяца назад
Yeah pretty much what @enz1222 said. I am currently making a video on how to implement role based access in nextjs so maybe that will be useful :)
@justincode327
@justincode327 4 месяца назад
thank you in advance
Далее
What Theo Won't Tell You About Next.js
8:37
Просмотров 92 тыс.
Next.js Server Actions...  5 awesome things you can do
7:51
Пчёлы некроманты.
00:46
Просмотров 22 тыс.
Why is Documentation Important
17:05
Просмотров 422
Is Dividing The Front End Actually Useful?
11:00
Software Engineers have no Deep Knowledge in 2024?
8:54
Learn Next.js Parallel Routes In 16 Minutes
16:18
Просмотров 130 тыс.
The Most Important Design Pattern in React
35:04
Просмотров 62 тыс.
React Query with Next.js App Router
25:54
Просмотров 26 тыс.
How to Use React Query with NextJS 13
40:54
Просмотров 27 тыс.
What Happened To Wordpress?
15:42
Просмотров 435
What Are ORMs and Why Is Prisma Falling Behind
13:15
Просмотров 1,8 тыс.