next-rest-framework
next-rest-framework copied to clipboard
How are RPC calls different than server functions?
Hi,
I have been looking at this framework, specifically implementing the rpc-style setup.
It just dawned on my that you need to use POST for these rpc requests. But then why not use server functions?
The drawback of server functions is that they do not support GET (so there's no caching, etc.), so I thought this library would be a nice alternative, but not if it uses post.
Am I missing something?
Thank you for your time!