Загрузка видео...

Не удалось загрузить видео

На главную

Server Actions create public endpoints, so be sure to secure them like you would API routes.

83,586 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Dobroslav Radosavljevič
Dobroslav Radosavljevič1 год назад

This is one of the things most developers don't know I think. They don't see the line between client and server. When Server Actions were introduced in Next.js, a lot of devs made a big mistake and got leaked server code or got abused by hackers because they didn't even know this.

Фото профиля Max Greenwald
Max Greenwald1 год назад

Server actions are an unnecessary addition to the React API surface area. I won't be using them.

Фото профиля Naif Alotaibi
Naif Alotaibi1 год назад

useless feature i guess nextjs created because they dont have product ideas😂😂😂😂😂😂😂

Фото профиля Amit Wani
Amit Wani1 год назад

I think there are useless?

Фото профиля Remy Jouni
Remy Jouni1 год назад

What is the best way to secure an API route?

Фото профиля Alex Sidorenko
Alex Sidorenko1 год назад

auth

Фото профиля Aardvark Erickson
Aardvark Erickson1 год назад

Wish they were executed at a known path, and not current route. Kinda makes middleware useless for them.

Фото профиля Edu BL
Edu BL1 год назад

A feature that I don't see it using it at the moment considering that I could use nestjs, fastapi, etc

Фото профиля M. Adel
M. Adel1 год назад

would a middleware, e.g. supabase, solve this issue?

Фото профиля Jaehyu Lee
Jaehyu Lee1 год назад

How do I find that endpoint ?

Похожие видео