Skip to content

Utilizing partial pre-render with component level fetch & suspense boundary #11

@farrelaby

Description

@farrelaby

Assalamualaikum warahmatullahi wabarakatuh

I've noticed that on the main page you guys used page level fetch to do database queries in parallel using Promise.all(). But, have you guys tried to move the fetches on the component level and wrap those components with Suspense? If im not mistaken, doing database call will make the page to be in dynamic render mode and could potentially slow down the response time.

That's all from me, please correct me if I'm wrong

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