Direct call

Call the server function without the hook

This page uses the same addNote() POST as the useServerFn example. The click handler calls it directly. On the server it still runs the handler. On the client it is still a request. useServerFn is the usual wrapper in components. A direct call is the same RPC.

No client call yet.

All examples