From ca91e32eb96bbb95df85f3c3e55f675aed252125 Mon Sep 17 00:00:00 2001 From: John Kapantzakis Date: Wed, 16 Apr 2025 22:23:32 +0300 Subject: [PATCH 1/2] Change the word 'Function' to 'Component' --- src/content/reference/rsc/server-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/rsc/server-functions.md b/src/content/reference/rsc/server-functions.md index d296938943b..9cfcdb33bdc 100644 --- a/src/content/reference/rsc/server-functions.md +++ b/src/content/reference/rsc/server-functions.md @@ -54,7 +54,7 @@ function EmptyNote () { } ``` -When React renders the `EmptyNote` Server Function, it will create a reference to the `createNoteAction` function, and pass that reference to the `Button` Client Component. When the button is clicked, React will send a request to the server to execute the `createNoteAction` function with the reference provided: +When React renders the `EmptyNote` Server Component, it will create a reference to the `createNoteAction` function, and pass that reference to the `Button` Client Component. When the button is clicked, React will send a request to the server to execute the `createNoteAction` function with the reference provided: ```js {5} "use client"; From 602616e016985b8aa49b09e9072d1a5d5a34d654 Mon Sep 17 00:00:00 2001 From: John Kapantzakis Date: Wed, 16 Apr 2025 22:36:01 +0300 Subject: [PATCH 2/2] Trigger actions