Ashar Rahman
Ashar Rahman

Reputation: 325

Do nextjs server actions replace the need for edge functions or a traditional backend?

At first glance it seems that NextJS server actions are similarly implemented to edge functions in serverless computing. They can do many things including run code on the server, it's hard for me to understand their true purpose and how they differentiate themselves from other server side implementations.

I'm curious as to their limitations and how they are different from traditional server side code, for example one of the use cases from vercel is to fetch data for the user.

Thanks.

Upvotes: 0

Views: 390

Answers (1)

Stefan
Stefan

Reputation: 974

To answer your question, you have to learn the basics of Next.js. I assume you already know React. Use the Framework and ask again for specific information or coding hints.

Good starting points are the official docs and this excellent tutorial (!).

Upvotes: -1

Related Questions