Wait until in addition to authentication, you have to also add translations and validation messages and make all of this work together nicely, with ssr too.
It’s a total nightmare. The only ones that would deny this is madness are those that have never used a real full stack framework and don’t know what they’re missing.
How about the fact that no one ever has a clear answer on where to put your global server objects, like singletons? connection pool or socket.io server?
In all my search I only ever came to some example where they put the prisma object on `global`. Why do they have to do so instead of just have it the export of some module? If it's because the handler is "serverless" wouldn't that make it a different `global` every time? There is absolutely no explanation on their website on why such trick has to be done for such basic need.