Next.js
use-server vs server-only - Next.js app router
In the Next.js app router's Documentation - we will see these two. Both use server Directive, and server-only seems similar. Let's see how they are different and the cases of using them. use server : * A Server Action can be defined with the React "use server" * Server Actions are functions