re: Day 28 of #100DaysOfCode: Create the Proxy for Next.js application VIEW POST


I'd highly recommend avoiding custom servers in Next.js applications unless you have a very good use case.

The Next.js & Vercel teams have mentioned using a custom server opts you out of the Next.js happy path 🙁

Instead, simply use the getServerProps method or make a serverless func in pages/api and go from there.

Code of Conduct Report abuse