Introduction to NextJs

NextJs is a fullstack React framework.

It comes with features like:

  • Routing

  • Server-side rendering

  • Static site generation

  • API routes

Background

When building React applications, you need to use a third-party library for routing. But with NextJs, that comes built in.

Example

Here is an example code for static site generation.

export async function getStaticProps() {}

Recap

And that's a wrap for this post folks.