Next.js, a framework for building server-rendered apps with JavaScript and the React UI library, adds serverless computing capabilities as part of its new Version 8.
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