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