Skip to content

Next.js Foundations Ch. 10: /dashboard static build output despite dynamic children? #1052

@fuchinoko

Description

@fuchinoko

Following Next.js Foundations Ch. 10 (PPR), the course states dynamic functions make the entire route dynamic.

"And in Next.js, if you call a dynamic function in a route (like querying your database), the entire route becomes dynamic."

However, my /dashboard route, with children calling dynamic functions(like usePathname or fetching data), shows as static (○) in the build output (without PPR)
alt text

Q1: Is PPR already enabled by default in Next.js 15?
Q2: If not default, why is /dashboard static (o) despite dynamic children?
Q3: If not default, what's the difference when explicitly enabling experimental_ppr = true?
Q4: Could it be that the build output (○/ƒ) doesn't actually reflect real behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions