Docs: Update server actions link to point at server actions page (#65593)
In the authentication section, React's "Server Actions" are mentioned and linked to server-components. I think that's wrong and the link was intended to go to the "Server Actions and Mutations" page. This fixes the issue. Co-authored-by: Sam Ko <sam@vercel.com>
This commit is contained in:
parent
82a6110e59
commit
a952986c41
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ The examples on this page walk through basic username and password auth for educ
|
||||||
|
|
||||||
### Sign-up and login functionality
|
### Sign-up and login functionality
|
||||||
|
|
||||||
You can use the [`<form>`](https://react.dev/reference/react-dom/components/form) element with React's [Server Actions](/docs/app/building-your-application/rendering/server-components), [`useFormStatus()`](https://react.dev/reference/react-dom/hooks/useFormStatus), and [`useActionState()`](https://react.dev/reference/react/useActionState) to capture user credentials, validate form fields, and call your Authentication Provider's API or database.
|
You can use the [`<form>`](https://react.dev/reference/react-dom/components/form) element with React's [Server Actions](/docs/app/building-your-application/data-fetching/server-actions-and-mutations), [`useFormStatus()`](https://react.dev/reference/react-dom/hooks/useFormStatus), and [`useActionState()`](https://react.dev/reference/react/useActionState) to capture user credentials, validate form fields, and call your Authentication Provider's API or database.
|
||||||
|
|
||||||
Since Server Actions always execute on the server, they provide a secure environment for handling authentication logic.
|
Since Server Actions always execute on the server, they provide a secure environment for handling authentication logic.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue