Is it Next.js server actions the future?
It definitely works, and we can build nice things with it, but I still think that the classic axios or tan-stack request is easier and predictable to use.
This is true of REST as well and more about code organization. Actions are often in their own directory and reusable, much like a business logic function you might call from a REST handler
https://nextjs.org/docs/app/building-your-application/deploy...
https://nextjs.org/docs/app/building-your-application/deploy...
* The shared cache loader is left to the user to implement (instead of say, just pass a Redis URL)
* The revalidate XYZ doesn't seem to work with Cloudfront etc
* The image lambda is left to the user
* The Cache-Control header isn't correct