DEV Community

dilsemonk
dilsemonk

Posted on • Updated on

Attempt #12 - Learnt few new concepts in React

Today I Learned: SSR and SSG with Next.js

Today, I explored Server-Side Rendering (SSR) and Static Site Generation (SSG) in Next.js.

  • SSR: Renders pages on the server for each request, ideal for dynamic content.
  • SSG: Pre-renders pages at build time, leading to faster load times for static content.

I also compared these concepts with Angular's approach and found React offers more flexibility in choosing between SSR, SSG, and Client-Side Rendering.

Additionally, Watching this React JS course.

Top comments (0)