NextJS APIs vs Server Actions

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


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

Solid video, thanks man! I’m new to Next.js so this was super helpful. Subscribed!

vjzb
Автор

keep making videos about next. Thanks 🇧🇷

vinaciotm
Автор

i know it's a stupid question but what's a webhook api what's the difference between webhook and normal apis like rest api i don't really get it

exodia_hosni
Автор

is it feasible from deployment point of view to use server actions instead of api routes ? will it result in some sort of problems or not?

jayantaggarwal
Автор

Hey Ras, I would like to know how you use server actions with a regular button (not in form) which fire a get/post function onClick :) for example you have an invitation page with a token and you can accept or decile the invitation, so you have 2 buttons "accept" and "deny" and these bottuns execute a server action function which writes to the DB the decision.

ShiNoBiize
Автор

i think we are not supposed to fetch data using server actions.Right?

govindpvenu