Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

83,592 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Dobroslav Radosavljevič
Dobroslav Radosavljevičvor 2 Jahren

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.

Profilbild von Max Greenwald
Max Greenwaldvor 2 Jahren

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

Profilbild von Naif Alotaibi
Naif Alotaibivor 2 Jahren

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

Profilbild von Amit Wani
Amit Wanivor 2 Jahren

I think there are useless?

Profilbild von Remy Jouni
Remy Jounivor 2 Jahren

What is the best way to secure an API route?

Profilbild von Alex Sidorenko
Alex Sidorenkovor 2 Jahren

auth

Profilbild von Aardvark Erickson
Aardvark Ericksonvor 2 Jahren

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

Profilbild von Edu BL
Edu BLvor 2 Jahren

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

Profilbild von M. Adel
M. Adelvor 2 Jahren

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

Profilbild von Jaehyu Lee
Jaehyu Leevor 2 Jahren

How do I find that endpoint ?

Ähnliche Videos

I sure like the way you think would you be my girlfriend?
1:23

Sensitive content

I sure like the way you think would you be my girlfriend?

Sebastian™

36,458 Aufrufe • vor 1 Jahr