Why use Next.js?

Опубликовано: 28 Октябрь 2024
на канале: Philip Fabianek
5,050
193

Next.js is one of the most popular React frameworks, but how does it actually work and should you use it?

In this video, we explore the 3 strategies of pre-rendering Next.js offers and compare them with each other. They are static-site generation (SSG), incremental static regeneration (ISR) and server-side rendering (SSR). These strategies adress the fundamental problems such as large bundles and bad SEO that most React developers face.

Timestamps:

0:00 Introduction
0:25 Problems with using create-react-app
2:09 What Next.js does
2:46 Static-site generation
3:23 Incremental static regeneration
4:15 Server-side rendering
4:44 Performance comparison
5:48 Implementation
6:36 Which approach is the best?
8:02 Deployment
8:51 Should you use Next.js?

Contact:

►Website: http://philipfabianek.com
►Twitter:   / philip_fabianek  
►LinkedIn:   / philip-fabianek  
►GitHub: https://github.com/philipfabianek

Music:

Markvard | Reflections
   • Reflections – Markvard (No Copyright ...  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0

#ReactJS #NextJS