Skip to content

A guide to create client-side-rendered (CSR) server-side-rendered (SSR) and static-generated (SSG) web applications using React & NextJS

Notifications You must be signed in to change notification settings

Sletheren/ssr-and-ssg-with-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSR vs SSR vs SSG using NextJS

This is an example of the different ways you can use NextJS to build web applications.

  • Client-side rendering: /pages/csr.js
  • Server-side rendering: /pages/ssr.js
  • Static-site generation: /pages/ssg.js

Start the project by running:

npm run dev

For static-site generation run:

npm run export

This is a starter template for Learn Next.js.

About

A guide to create client-side-rendered (CSR) server-side-rendered (SSR) and static-generated (SSG) web applications using React & NextJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published