Next.js is a framework for React that lets you render your pages on the server-side instead of doing it on the client. It comes with a handful of cool features already built-in, such as code splitting, routing, pre-fetching, support for CSS modules or Typescript, and much more.

In this tutorial, we are going to build a simple application that will fetch and display quotes from famous people that we can later filter by author. This way, we can have a look at how you can set up a new Next.js project, how to add pages and public assets such as images, how to add routing and style your pages, or how to fetch data from an API. We are going to be building the following app:

App built with next.js


How to Render React on the Server-Side With Next.js

#react #next #javascript #web-development #frontend #webtips

How to Render React on the Server-Side With Next.js
1.30 GEEK