Pie Logo
Exercise: Static and Dynamic Rendering
by Tomas Trescak

PresentationInteractive, narrated presentation of the section content.

ContentDetailed description of the section content.

Installation

Reuse the code from the previous exercise. Make sure to complete it before attempting this one.

Instructions

This is a play-around example for you to see if you understand the differences between static and dynamic rendering. There is no way for us to test the output, so we leave this to you.

Tasks

  1. Build your app and see which routes are built statically and which are built dynamically
  2. Can you build your blog posts statically for CDN distribution? 

Check out the documentation for Incremental Static Regeneration, particularly for function generateStaticParams

Discuss with OthersAsk questions, share your thoughts, and discuss with other learners.

Loading discussion ...
Full Stack Development
Introduction
Generative AI
🍰 Player
💼 Editor
Setup
React Fundamentals
Next.js
Why Next.js?
Next.js Introduction
Monorepos
Turborepo
Assignment 2.1: Blog - Client
Layouts and Pages
Fonts and Images
Styling
Server vs Client Components
Static and Dynamic Rendering
Quiz: Static and Dynamic Rendering
Exercise: Static and Dynamic Rendering
Leaderboards
Advanced React
Databases
React Hooks
Authentication and Authorisation
APIs
CI/CD and DevOps
Testing React
Advanced Topics
    Pie Logo
    Exercise: Static and Dynamic Rendering
    by Tomas Trescak

    PresentationInteractive, narrated presentation of the section content.

    ContentDetailed description of the section content.

    Installation

    Reuse the code from the previous exercise. Make sure to complete it before attempting this one.

    Instructions

    This is a play-around example for you to see if you understand the differences between static and dynamic rendering. There is no way for us to test the output, so we leave this to you.

    Tasks

    1. Build your app and see which routes are built statically and which are built dynamically
    2. Can you build your blog posts statically for CDN distribution? 

    Check out the documentation for Incremental Static Regeneration, particularly for function generateStaticParams

    Discuss with OthersAsk questions, share your thoughts, and discuss with other learners.

    Loading discussion ...
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    Next.js
    Why Next.js?
    Next.js Introduction
    Monorepos
    Turborepo
    Assignment 2.1: Blog - Client
    Layouts and Pages
    Fonts and Images
    Styling
    Server vs Client Components
    Static and Dynamic Rendering
    Quiz: Static and Dynamic Rendering
    Exercise: Static and Dynamic Rendering
    Leaderboards
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics

    No hints available.

    No hints available.

    Pie Logo
    Exercise: Static and Dynamic Rendering
    by Tomas Trescak
    Pie Logo
    Exercise: Static and Dynamic Rendering
    by Tomas Trescak
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    Next.js
    Why Next.js?
    Next.js Introduction
    Monorepos
    Turborepo
    Assignment 2.1: Blog - Client
    Layouts and Pages
    Fonts and Images
    Styling
    Server vs Client Components
    Static and Dynamic Rendering
    Quiz: Static and Dynamic Rendering
    Exercise: Static and Dynamic Rendering
    Leaderboards
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics
    Full Stack Development
    Introduction
    Generative AI
    🍰 Player
    💼 Editor
    Setup
    React Fundamentals
    Next.js
    Why Next.js?
    Next.js Introduction
    Monorepos
    Turborepo
    Assignment 2.1: Blog - Client
    Layouts and Pages
    Fonts and Images
    Styling
    Server vs Client Components
    Static and Dynamic Rendering
    Quiz: Static and Dynamic Rendering
    Exercise: Static and Dynamic Rendering
    Leaderboards
    Advanced React
    Databases
    React Hooks
    Authentication and Authorisation
    APIs
    CI/CD and DevOps
    Testing React
    Advanced Topics