Next.js 8 enables serverless deployment, in which applications are split into smaller parts, or lambdas, that let code be run on demand and scale automatically. In Next.js Version 8, each page in the
pages directory becomes a serverless lambda. A low-level API is available for serverless deployment.
To read this article in full, please click here