Runtimes and Types

Last updated

What is Runtimes and Types?

In the context of Next.js, runtime refers to the set of libraries, APIs, and general functionality available to your code during execution. On the server, there are two runtimes where parts of your application code can be rendered:

  • The Node.js Runtime (default), which has access to all Node.js APIs and is used for rendering your application.
  • The Edge Runtime which contains a more limited set of APIs, used in Middleware.

Free resources to learn Runtimes and Types

More in stage 22: Runtimes and Types

Runtimes and Types: common questions

Can I learn Runtimes and Types in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Runtimes and Types in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Runtimes and Types tutorial for beginners?

It is lesson 54 of 94 in the free Next.js roadmap, in stage 22, Runtimes and Types. If you are new to Next.js, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me