Skip to content

[Typo]: "... renders the EmptyNote Server Function, ..." #7680

@timmyshen

Description

@timmyshen

Summary

I think "EmptyNote" is a server component rather than server function. Is this a typo?

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:

Page

https://react.dev/reference/rsc/server-functions

Details

No response

Activity

timmyshen

timmyshen commented on Mar 13, 2025

@timmyshen
Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @timmyshen

        Issue actions

          [Typo]: "... renders the EmptyNote Server Function, ..." · Issue #7680 · reactjs/react.dev