This commit is contained in:
Ricky Hanlon
2024-04-23 10:30:09 -04:00
parent bb0cd2aed0
commit 2c11622f98

View File

@@ -259,6 +259,8 @@ Server Components are a new option that allows rendering components ahead of tim
Today we're releasing React Server Components as semver stable in React 19. This means libraries that ship Server Components and Server Actions can target React 19 as a peer dependency for use in frameworks that support the [Full-stack React Architecture](/learn/start-a-new-react-project#which-features-make-up-the-react-teams-full-stack-architecture-vision).
For more, see the docs for [React Server Components](/reference/full-stack/server-components).
<DeepDive>
#### How do I use Server Components? {/*how-do-i-use-server-components*/}
@@ -283,6 +285,8 @@ When a Server Action is defined with the `"use server"` directive, your framewor
Server Actions can be created in Server Components and passed as props to Client Components, or they can be imported and used in Client Components.
For more, see the docs for [React Server Actions](/reference/full-stack/server-actions).
<DeepDive>
#### How do I use Server Actions? {/*how-do-i-use-server-actions*/}