You're following everyone we can think of. Browse tags to find more people.
I'm a bit confused about this. Why does Next.js seem to make this use case so complicated?
If my backend is completely separate from my frontend, do I still have to use Server Actions or API Routes just to hide the backend endpoints from the client?
If not, is it perfectly fine to use Next.js essentially as React and call my backend APIs directly from the client? Am I missing something?
I thought the drop here was just a demo but I'm happy to try to respond. (And I'm not Aurora either.)
It is perfectly fine to use Next.js exclusively client-side to call your backend if it is separated from your frontend, you can technically just use Next.js without RSCs. (It's going to take a lot of "use client" though.) The idea behind the model is to provide a solution where the backend and the frontend are coupled, but otherwise you can use something like React Query just fine on the client.