Next.js Discord

Discord Forum

Does anyone know about performance difference of these two?

Unanswered
Yellow-green Vireo posted this in #help-forum
Open in Discord
Yellow-green VireoOP
why importing components into the app directory shows high performance via lighthouse than coding directly within the pages of the app directory itself ? is there any related documents?

1 Reply

Asian paper wasp
Do you have a demo to illustrate what you are trying to describe?
e.g. a link to a Next.js app that has two pages, each with one of the ways you mentioned