createServerOnlyFn vs createServerFn?
What's the difference between these two:
- https://tanstack.com/start/latest/docs/framework/react/guide/server-functions
- https://tanstack.com/start/latest/docs/framework/react/guide/environment-functions
1 Reply
fair-roseOP•2mo ago
createServerOnlyFn is for normal functions. createServerFn is for RPC style calls you can make from the client.