React frameworks

24 January 2022

This blog assumes you know React basics and web rendering strategies.

React frameworks are the frameworks that are built on top of React.

Why not use React?

React can only do Client-Side Rendering (CSR). You can set up Server-Side Rendering (SSR) and other rendering methods, but it's hard.

Pros

Cons

Next.js

Pros

Cons

Gatsby

Before Gatsby version 4, it only provided SSG. For large sites, the build time was very long. Starting from Gatsby version 4, it is now like Next.js.

Pros

Cons

There're other React frameworks too, but they are not as popular.

What to use

For beginners, I recommend Create React App. Otherwise, I recommend Next.js.

Read other blogs