mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-26 07:14:59 +00:00
fix(reference): correct singular form of 'Server Functions' to 'Server Function' (#7749)
This commit is contained in:
@@ -28,7 +28,7 @@ To support Server Functions as a bundler or framework, we recommend pinning to a
|
||||
|
||||
</Note>
|
||||
|
||||
When a Server Functions is defined with the [`"use server"`](/reference/rsc/use-server) directive, your framework will automatically create a reference to the server function, and pass that reference to the Client Component. When that function is called on the client, React will send a request to the server to execute the function, and return the result.
|
||||
When a Server Function is defined with the [`"use server"`](/reference/rsc/use-server) directive, your framework will automatically create a reference to the server function, and pass that reference to the Client Component. When that function is called on the client, React will send a request to the server to execute the function, and return the result.
|
||||
|
||||
Server Functions can be created in Server Components and passed as props to Client Components, or they can be imported and used in Client Components.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user