Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timmyshen opened this issue Mar 13, 2025 · 1 comment
Open

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

timmyshen opened this issue Mar 13, 2025 · 1 comment

Comments

@timmyshen
Copy link

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

@timmyshen
Copy link
Author

#7681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant