@@ -34,7 +34,7 @@ Server Functions can be created in Server Components and passed as props to Clie
3434
3535## Usage {/* usage* /}
3636
37- ### Creating a Server Function from a Server Component {/* creating-a-server-function-from-a-server-component* /}
37+ ### Creating a Server Function in a Server Component {/* creating-a-server-function-from-a-server-component* /}
3838
3939Server Components can define Server Functions with the ` "use server" ` directive:
4040
@@ -68,7 +68,7 @@ export default function Button({onClick}) {
6868
6969For more, see the docs for [ ` "use server" ` ] ( /reference/rsc/use-server ) .
7070
71- ### Importing Server Functions from Client Components {/* importing-server-functions-from-client-components* /}
71+ ### Importing a Server Function into a Client Component {/* importing-server-functions-from-client-components* /}
7272
7373Client Components can import Server Functions from files that use the ` "use server" ` directive:
7474
@@ -94,7 +94,7 @@ function EmptyNote() {
9494
9595For more, see the docs for [ ` "use server" ` ] ( /reference/rsc/use-server ) .
9696
97- ### Server Functions with Actions {/* server-functions-with-actions* /}
97+ ### Calling a Server Function from an Action {/* server-functions-with-actions* /}
9898
9999Server Functions can be called from Actions on the client:
100100
@@ -153,7 +153,7 @@ This allows you to access the `isPending` state of the Server Function by wrappi
153153
154154For more, see the docs for [ Calling a Server Function outside of ` <form> ` ] ( /reference/rsc/use-server#calling-a-server-function-outside-of-form ) .
155155
156- ### Server Functions with Form Actions {/* using-server-functions-with-form-actions* /}
156+ ### Using a Server Function as a Form Action {/* using-server-functions-with-form-actions* /}
157157
158158Server Functions work with the new Form features in React 19.
159159
0 commit comments