This is a Next.js project bootstrapped with create-next-app for Profico's DUMP Internship React Rendering Patterns presentation.
Build the application using:
npm run build
and start using
npm run start
Open http://localhost:3000 with your browser to see the result.
There are three buttons to display the same news homepage. Use them to see a comparison of rendering modes:
/clientdisplays a CSR page with data fetching on the client/serverdisplays an SSR page with data fetching on the server/staticdisplay a statically generated page
Run the development server using
npm run dev
or
npm run dev --turbo