From d040a7e80e27b6f4902af0274ccb1d0b8219ccff Mon Sep 17 00:00:00 2001 From: Michael Angelo Rivera <55844504+michaelangeloio@users.noreply.github.com> Date: Sun, 27 Aug 2023 10:19:24 -0400 Subject: [PATCH 1/4] Update 03-forms-and-mutations.mdx --- .../02-data-fetching/03-forms-and-mutations.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx index 6e642cc6836ff..456fe0b11927d 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx @@ -170,6 +170,8 @@ export default function Page() { } ``` +> **Good to know**: actions take the [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData) data type. The data submitted via the HTML [`form`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) is accessible in the server action `create`. + ### Revalidating Data Server Actions allow you to invalidate the [Next.js Cache](/docs/app/building-your-application/caching) on demand. You can invalidate an entire route segment with [`revalidatePath`](/docs/app/api-reference/functions/revalidatePath): From 7205ca5f62c700447a2ea63ba9ae10041afb11e9 Mon Sep 17 00:00:00 2001 From: Michael Angelo Rivera <55844504+michaelangeloio@users.noreply.github.com> Date: Sun, 27 Aug 2023 10:24:46 -0400 Subject: [PATCH 2/4] Update 03-forms-and-mutations.mdx --- .../02-data-fetching/03-forms-and-mutations.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx index 456fe0b11927d..a5ff6f6d67965 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx @@ -170,7 +170,7 @@ export default function Page() { } ``` -> **Good to know**: actions take the [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData) data type. The data submitted via the HTML [`form`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) is accessible in the server action `create`. +> **Good to know**: `