Skip to content

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

Open
@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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions