We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 =)
The text was updated successfully, but these errors were encountered:
react.dev/reference/rsc/use-server should work until we add redirects: #6800
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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 =)
The text was updated successfully, but these errors were encountered: