Closed
Description
This link returns a 404 https://react.dev/reference/react/use-server.
I am trying to understand the differences between 'use server' and server-only.
For what I understand, server-only is to forbid Client Component to access functions or files where it is imported.
And 'use server' is used to enable server actions.
So in my mind, I prefer call them 'use action' ^^
But because of the non existing ref page, I can't be sure =)
Metadata
Metadata
Assignees
Labels
No labels