diff --git a/docs/01-app/01-getting-started/08-updating-data.mdx b/docs/01-app/01-getting-started/08-updating-data.mdx index ccefe259fdb60..9c98644f1883a 100644 --- a/docs/01-app/01-getting-started/08-updating-data.mdx +++ b/docs/01-app/01-getting-started/08-updating-data.mdx @@ -14,7 +14,7 @@ You can update data in Next.js using React's [Server Functions](https://react.de ## What are Server Functions? -A **Server Function** is an asynchronous function that runs on the server. They can be called from client through a network request, which is why they must be asynchronous. +A **Server Function** is an asynchronous function that runs on the server. They can be called from the client through a network request, which is why they must be asynchronous. In an `action` or mutation context, they are also called **Server Actions**. @@ -176,7 +176,7 @@ There are two main ways you can invoke a Server Function: ### Forms -React extends the HTML [`
`](https://react.dev/reference/react-dom/components/form) element to allow Server Function to be invoked with the HTML `action` prop. +React extends the HTML [``](https://react.dev/reference/react-dom/components/form) element to allow a Server Function to be invoked with the HTML `action` prop. When invoked in a form, the function automatically receives the [`FormData`](https://developer.mozilla.org/docs/Web/API/FormData/FormData) object. You can extract the data using the native [`FormData` methods](https://developer.mozilla.org/en-US/docs/Web/API/FormData#instance_methods):